perl-MooseX-Types-LoadableClass-0.5.0-2-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-MooseX-Types-LoadableClass - ClassName type constraint with coercion to load the class

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-MooseX-Types-LoadableClass
Package version: 0.5.0
Package release: 2-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 6.72 KB
Download size: 8.44 KB
Official Mirror: mirror.rosalab.ru
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.

Provides

  • perl(MooseX::Types::LoadableClass) == 0.5.0
  • perl-MooseX-Types-LoadableClass == 0.5.0-2:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-MooseX-Types-LoadableClass rpm package:
      # urpmi perl-MooseX-Types-LoadableClass

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Types/LoadableClass.pm
    • /usr/share/doc/perl-MooseX-Types-LoadableClass/Changes
    • /usr/share/doc/perl-MooseX-Types-LoadableClass/META.yml
    • /usr/share/doc/perl-MooseX-Types-LoadableClass/README
    • /usr/share/man/man3/MooseX::Types::LoadableClass.3pm.xz

    Changelog

    2011-04-23 - Funda Wang <fwang@mandriva.org> 0.5.0-2mdv2011.0 + Revision: 657800 - rebuild for updated spec-helper

    2010-11-27 - Guillaume Rousse <guillomovitch@mandriva.org> 0.5.0-1mdv2011.0 + Revision: 602091 - import perl-MooseX-Types-LoadableClass

    Advertisement
    Advertisement