Package perl-MooseX-Types-LoadableClass: Information

    Binary package: perl-MooseX-Types-LoadableClass
    Version: 0.014-alt1.1
    Architecture: noarch
    Build time:  Apr 10, 2016, 01:57 AM in the task #162814
    Category: Development/Perl
    Report package bug
    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.

    Maintainer: Igor Vlasenko

    List of contributors:
    Igor Vlasenko

    Last changed


    April 9, 2016 Igor Vlasenko 0.014-alt1.1
    - rebuild to restore role requires
    Oct. 11, 2015 Igor Vlasenko 0.014-alt1
    - automated CPAN update
    Nov. 25, 2014 Igor Vlasenko 0.013-alt1
    - automated CPAN update