Name : perl-MooseX-Types-LoadableClass
| |
Version : 0.015
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 18:41:34
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooseX-Types-LoadableClass-0.015-lp154.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
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: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.4/noarch |