- Name: perl-MooX-Lsub
- Version: 0.2.0
- Release: 4.mga5
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/MooX-Lsub
- Summary: Very shorthand syntax for bulk lazy builders
- Architecture: noarch
- Size: 100781
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
I often want to use a lot of lazy build subs to implement some plumbing,
with scope to allow it to be overridden by people who know what they're
doing with an injection library like Bread::Board.
Usually, the syntax of "Class::Tiny" is what I use for such things.
use Class::Tiny {
'a' => sub { },
'b' => sub { },
};
Etc.
But switching things to Moo means I usually have to get much uglier, and
repeat myself a *lot*.
So this module exists as a compromise.
Additionally, I always forgot to declare "use Moo 1.000008" which was
the first version of "Moo" where "builder => sub" worked, and I would
invariably get silly test failures in smokers as a consequence.
This module avoids such problem entirely, and is tested to work with
"Moo 0.009001".
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: ecosse.mageia.org 1413673164
- Buildhost: ecosse.mageia.org
Sources packages:
Other version of this rpm: