Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
libmousex-strictconstructor-perl
Mouse extension for making object constructors die on unknown attributes
http://search.cpan.org/dist/MouseX-StrictConstructor/
0
no reviews
Install
Simply loading mousex::strictconstructor in your perl package will make your constructor "strict". if your constructor is called with an attribute argument that your class does not declare, then it dies. this is a great way to catch small typos.