Name : perl-MooX-Lsub
| |
Version : 0.002001
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 20:46:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooX-Lsub-0.002001-lp155.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Very shorthand syntax for bulk lazy builders
|
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\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.5/noarch |