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

Property Value
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.

Alternatives

Package Version Architecture Repository
perl-MooseX-Types-LoadableClass-0.5.0-2-rosa.lts2012.0.noarch.rpm 0.5.0 noarch ROSA Contrib Updates
perl-MooseX-Types-LoadableClass - - -

Requires

Name Value
perl(MooseX::Types) >= 0.220.0
perl(namespace::clean) -

Provides

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

Download

Type URL
Binary Package perl-MooseX-Types-LoadableClass-0.5.0-2-rosa.lts2012.0.noarch.rpm
Source Package perl-MooseX-Types-LoadableClass-0.5.0-2.src.rpm

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

Path
/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

See Also

Package Description
perl-MooseX-Types-Path-Class-0.50.0-2-rosa.lts2012.0.noarch.rpm A Path::Class type library for Moose
perl-MooseX-Types-Perl-0.101.340-2-rosa.lts2012.0.noarch.rpm Moose types that check against Perl syntax
perl-MooseX-Types-Set-Object-0.30.0-2-rosa.lts2012.0.noarch.rpm Set::Object type with coercions and stuff
perl-MooseX-Types-Structured-0.270.0-1-rosa.lts2012.0.noarch.rpm Structured type constraints
perl-MooseX-Types-URI-0.20.0-2-rosa.lts2012.0.noarch.rpm L<URI> related types and coercions for Moose
perl-MooseX-YAML-0.40.0-2-rosa.lts2012.0.noarch.rpm DWIM loading of Moose objects from YAML
perl-Mouse-0.930.0-1-rosa.lts2012.0.x86_64.rpm Moose minus the antlers
perl-MouseX-NativeTraits-1.40.0-1-rosa.lts2012.0.noarch.rpm Extend your attribute interfaces for Mouse
perl-MouseX-StrictConstructor-0.20.0-1-rosa.lts2012.0.noarch.rpm Make your object constructors blow up on unknown attributes
perl-Mozilla-CA-20110409.0.0-1-rosa.lts2012.0.noarch.rpm Mozilla's CA cert bundle in PEM format
perl-NEXT-0.650.0-2-rosa.lts2012.0.noarch.rpm Perl5 implementation of NEXT (RFC190)
perl-NKF-2.0.7-7-rosa.lts2012.0.x86_64.rpm Perl extension for Network Kanji Filter
perl-NTLM-1.80.0-1-rosa.lts2012.0.noarch.rpm An NTLM authentication module
perl-Nagios-Plugin-0.350.0-1-rosa.lts2012.0.noarch.rpm A family of perl modules to streamline writing Nagios plugins
perl-Nagios-Plugin-WWW-Mechanize-0.130.0-1-rosa.lts2012.0.noarch.rpm Login to a web page as a user and get data as a Nagios plugin
Advertisement
Advertisement