- Name: perl-MooseX-Types-LoadableClass
- Version: 0.8.0
- Release: 2.mga3
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/MooseX-Types-LoadableClass
- Summary: ClassName type constraint with coercion to load the class
- Architecture: noarch
- Size: 22509
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
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.
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: sucuk.mageia.org 1358073734
- Buildhost: sucuk.mageia.org
Generated packages:
Other version of this rpm: