Group :: Development/Perl
RPM: perl-MooseX-Types-LoadableClass
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.015-alt1
Build date: 2 august 2017, 13:42 ( 352.2 weeks ago )
Size: 35.25 Kb
Home page: http://search.cpan.org/CPAN/authors/id/B/BO/BOB…
License: Artistic
Summary: ClassName type constraint with coercion to load the class
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 2 august 2017, 13:42 ( 352.2 weeks ago )
Size: 35.25 Kb
Home page: http://search.cpan.org/CPAN/authors/id/B/BO/BOB…
License: Artistic
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::MOP::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.
Current maintainer: Igor Vlasenko my $tc = subtype as ClassName;
coerce $tc, from Str, via { Class::MOP::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.
List of contributors List of rpms provided by this srpm:
- perl-MooseX-Types-LoadableClass