perl-MooseX-Method-0.440.0-1-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-MooseX-Method - Method declaration with type checking

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-MooseX-Method
Package version: 0.440.0
Package release: 1-rosa.lts2012.0
Package architecture: noarch
Package type: rpm
Installed size: 120.76 KB
Download size: 45.38 KB
Official Mirror: mirror.rosalab.ru
The problem This module is an attempt to solve a problem I've often encountered but never really found any good solution for: validation of method parameters. How many times have we all ourselves writing code like this: sub foo { my ($self,$args) = @_; die "Invalid arg1" unless (defined $arg->{bar} && $arg->{bar} =~ m/bar/); }

Provides

  • perl(Foo1)
  • perl(Foo2)
  • perl(Foo3)
  • perl(Foo::Parameter)
  • perl(Foo::Role)
  • perl(MooseX::Meta::Method::Signature) == 0.10.0
  • perl(MooseX::Meta::Method::Signature::Compiled) == 0.10.0
  • perl(MooseX::Meta::Parameter) == 0.10.0
  • perl(MooseX::Meta::Parameter::Compiled) == 0.10.0
  • perl(MooseX::Meta::Parameter::Moose) == 0.10.0
  • perl(MooseX::Meta::Parameter::Moose::Compiled) == 0.10.0
  • perl(MooseX::Meta::Signature) == 0.10.0
  • perl(MooseX::Meta::Signature::Combined) == 0.10.0
  • perl(MooseX::Meta::Signature::Combined::Compiled) == 0.10.0
  • perl(MooseX::Meta::Signature::Compiled) == 0.10.0
  • perl(MooseX::Meta::Signature::Named) == 0.10.0
  • perl(MooseX::Meta::Signature::Named::Compiled) == 0.10.0
  • perl(MooseX::Meta::Signature::Positional) == 0.10.0
  • perl(MooseX::Meta::Signature::Positional::Compiled) == 0.10.0
  • perl(MooseX::Method) == 0.440.0
  • perl(MooseX::Method::Constant) == 0.10.0
  • perl(MooseX::Method::Exception) == 0.10.0
  • perl(MooseX::Test::Parameter::Moose) == 0.10.0
  • perl(MooseX::Test::Signature::Combined) == 0.10.0
  • perl(MooseX::Test::Signature::Named) == 0.10.0
  • perl(MooseX::Test::Signature::Positional) == 0.10.0
  • perl-MooseX-Method == 0.440.0-1: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-Method rpm package:
      # urpmi perl-MooseX-Method

    Files

    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Method.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Method/Signature.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Method/Signature/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Moose.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Moose/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Combined.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Named.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Positional.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Combined/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Named/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Positional/Compiled.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Method/Constant.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Method/Exception.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Parameter/Moose.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Signature/Combined.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Signature/Named.pm
    • /usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Signature/Positional.pm
    • /usr/share/doc/perl-MooseX-Method/Changes
    • /usr/share/man/man3/MooseX::Meta::Method::Signature.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Method::Signature::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Parameter.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Parameter::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Parameter::Moose.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Parameter::Moose::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Combined.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Combined::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Named.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Named::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Positional.3pm.xz
    • /usr/share/man/man3/MooseX::Meta::Signature::Positional::Compiled.3pm.xz
    • /usr/share/man/man3/MooseX::Method.3pm.xz
    • /usr/share/man/man3/MooseX::Method::Constant.3pm.xz
    • /usr/share/man/man3/MooseX::Method::Exception.3pm.xz
    • /usr/share/man/man3/MooseX::Test::Parameter::Moose.3pm.xz
    • /usr/share/man/man3/MooseX::Test::Signature::Combined.3pm.xz
    • /usr/share/man/man3/MooseX::Test::Signature::Named.3pm.xz
    • /usr/share/man/man3/MooseX::Test::Signature::Positional.3pm.xz

    Changelog

    2009-08-01 - J?r?me Quelin <jquelin@mandriva.org> 0.440.0-1mdv2010.0 + Revision: 405945 - rebuild using %%perl_convert_version

    2009-07-01 - Guillaume Rousse <guillomovitch@mandriva.org> 0.44-1mdv2010.0 + Revision: 391186 - update to new version 0.44

    2009-06-18 - Guillaume Rousse <guillomovitch@mandriva.org> 0.43-1mdv2010.0 + Revision: 387013 - update to new version 0.43

    Advertisement
    Advertisement