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

libmoosex-strictconstructor-perl

Make your object constructors blow up on unknown attributes

Variants:
"use MooseX::StrictConstructor" instead of just "use Moose" 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.19-1
Architecture:all
Distribution:Debian
Filename:libmoosex-strictconstructor-perl_0.19-1_all.deb

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

MooseX::StrictConUsercContributed PerlMooseX::StrictConstructor(3pm)



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

VERSION
       version 0.19

SYNOPSIS
           package My::Class;

           use Moose;
           use MooseX::StrictConstructor;

           has 'size' => ...;

           # then later ...

           # this blows up
more»

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

MooseX::StrictConUsercCoMooseX::StrictConstructor::Trait::Class(3pm)



NAME
       MooseX::StrictConstructor::Trait::Class - A role to make
       immutable constructors strict

VERSION
       version 0.19

DESCRIPTION
       This role simply wraps "_inline_BUILDALL()" (from
       "Moose::Meta::Class") so that immutable classes have a strict
       constructor.

AUTHOR
       Dave Rolsky <autarc
more»

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

MooseX::StMooseX::StrictConstructor::Trait::Method::Constructor(3pm)



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

VERSION
       version 0.19

DESCRIPTION
       This role simply wraps "_generate_BUILDALL()" (from
       "Moose::Meta::Method::Constructor") so that immutable classes
       have a strict constructor.

AUT
more»

/usr/share/doc/libmoosex-strictconstructor-perl/changelog.Debian.gz

libmoosex-strictconstructor-perl (0.19-1) unstable; urgency=low

  * New upstream release.
  * Updat
more»

/usr/share/doc/libmoosex-strictconstructor-perl/changelog.gz

0.19     2012-01-17

- The 0.17 release broke compatibility with pre-2.0 versions of Moose.


0.18  
more»

/usr/share/doc/libmoosex-strictconstructor-perl/copyright

Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=13
more»

Browse inside libmoosex-strictconstructor-perl_0.19-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libmoosex-strictconstructor-perl_0.19-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com