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.06-1
Architecture:all
Distribution:Debian
Filename:libmoosex-strictconstructor-perl_0.06-1_all.deb

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

MooseX::Object::SUsertContribuMooseX::Object::StrictConstructor(3pm)



NAME
       MooseX::Object::StrictConstructor - Implements strict
       constructors as a Moose::Object subclass

DESCRIPTION
       This class has no external interface. When you use
       "MooseX::StrictConstructor", your objects will subclass this
       class rather than Moose::Object.

AUTHOR
       Dave Rolsky, "<autar
more»

/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

SYNOPSIS
           package My::Class;

           use MooseX::StrictConstructor; # instead of use Moose

           has 'size' => ...;

           # then later ...

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

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

MooseX::StrictConUsercConMooseX::StrictConstructor::Meta::Class(3pm)



NAME
       MooseX::StrictConstructor::Meta::Class - A meta class for
       classes with strict constructors

SYNOPSIS
         use MooseX::StrictConstructor;

DESCRIPTION
       This class simply overrides "make_immutable()" in
       "Moose::Meta::Class" to use
       "MooseX::StrictConstructor::Meta::Method::Constructor" a
more»

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

MooseX::StrMooseX::StrictConstructor::Meta::Method::Constructor(3pm)



NAME
       MooseX::StrictCo
more»

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

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

  * New upstream release.
  * Set S
more»

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

0.06   2008-06-27

- Changes to the immutable bits to work with the latest Moose (0.51).


0.05   20
more»

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

This is the debian package for the MooseX-StrictConstructor module.
It was created by Antony Gelberg
more»

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

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

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

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