- Name: perl-MooseX-Types-LoadableClass
- Version: 0.15.0
- Release: 5.mga9
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: https://metacpan.org/release/MooseX-Types-LoadableClass
- Summary: ClassName type constraint with coercion to load the class
- Architecture: noarch
- Size: 35214
- 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: localhost 1647819988
- Buildhost: localhost
Generated packages:
Other version of this rpm: