Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-MooseX-StrictConstructor

Make your object constructors blow up on unknown attributes

Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls "Carp::confess()". This is a great way to catch small typos.
Homepage:
Package version:0.08
Architecture:noarch
Distribution:Dag
Filename:perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm

/usr/share/doc/perl-MooseX-StrictConstructor-0.08/README

NAME
    MooseX::StrictConstructor - Make your object constructors blow up on
    unknown attributes

SYNOPSIS
        package My::Class;

        use Moose;
        use MooseX::StrictConstructor;

        has 'size' => ...;

        # then later ...

        # this blows up because color is not a known attribute
        My::Class->new( size => 5, color => 'blue' );

DESCRIPTION
    Simply loading
more»

/usr/share/man/man3/MooseX::StrictConstructor.3pm.gz

MooseX::StrictConUsercContributed Perl DMooseX::StrictConstructor(3)



NAME
       MooseX::StrictConstructor - Make your object constructors
       blow up on unknown attributes

SYNOPSIS
           package My::Class;

           use Moose;
           use MooseX::StrictConstructor;

           has 'size' => ...;

           # then later ...

           # this blows up because color is not a known
more»

/usr/share/man/man3/MooseX::StrictConstructor::Role::Meta::Method::Constructor.3pm.gz

MooseX:MooseX::StrictConstructor::Role::Meta::Method::Constructor(3)



NAME
       MooseX::StrictConstructor::Role::Meta::Method::Constructor -
       A role to make immutable constructors strict

SYNOPSIS
         Moose::Util::MetaRole::apply_metaclass_roles
             ( for_class => $caller,
               constructor_class_roles =>
               ['MooseX::StrictConstructor::Role::Meta::Meth
more»

/usr/share/man/man3/MooseX::StrictConstructor::Role::Object.3pm.gz

MooseX::StrictConUsercContMooseX::StrictConstructor::Role::Object(3)



NAME
       MooseX::StrictCo
more»

/usr/share/doc/perl-MooseX-StrictConstructor-0.08/Changes

0.08     2009-04-07

- Make this module work with Moose 0.73_01+.


0.07     2008-09-01

- No code c
more»

Browse inside perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm

971 B2014-11-27HEADER  view  281+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm

2010-01-04  ftp://ftp.scientificlinux.org/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.scientificlinux.org/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.scientificlinux.org/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.scientificlinux.org/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.cica.es/…dag/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.cica.es/…dag/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.fedora.is/…g/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.fedora.is/…g/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.fedora.is/…g/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://ftp.fedora.is/…g/RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://mirror.vit.com.tr/…MS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://mirror.vit.com.tr/…MS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://dewy.fem.tu-ilmenau.de/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://dewy.fem.tu-ilmenau.de/…perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
2010-01-04  ftp://122.213.199.121/…RPMS/perl-MooseX-StrictConstructor-0.08-1.el5.rf.noarch.rpm
more download mirrors»
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com