Name : perl-MooseX-Types-LoadableClass
| |
Version : 0.015
| Vendor : openSUSE
|
Release : lp151.2.2
| Date : 2018-07-16 22:44:48
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooseX-Types-LoadableClass-0.015-lp151.2.2.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : ClassName type constraint with coercion to load the class
|
Description :
use Moose::Util::TypeConstraints;
my $tc = subtype as ClassName; coerce $tc, from Str, via { Class::Load::load_class($_); $_ };
I\'ve written those three lines of code quite a lot of times, in quite a lot of places.
Now I don\'t have to.
|
RPM found in directory: /vol/rzm3/linux-opensuse/ports/aarch64/distribution/leap/15.1/repo/oss/noarch |