06 Jul 2010 11:38:25 UTC
- Distribution: MouseX-StrictConstructor
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (1)
- Testers (10820 / 1 / 3)
- KwaliteeBus factor: 1
- 94.44% Coverage
- License: perl_5
- Perl: v5.6.2
- Activity24 month
- Download (20.35KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionGFUJI FIUJI, Goroand 1 contributors
- Fuji, Goro (gfx) <gfuji(at)cpan.org>
MouseX::StrictConstructor - Make your object constructors blow up on unknown attributes
use Mouse; use MouseX::StrictConstructor;
Simply loading this module makes your constructors "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.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Fuji, Goro (gfx) <gfuji(at)cpan.org>
Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install MouseX::StrictConstructor, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install MouseX::StrictConstructor
For more information on module installation, please visit the detailed CPAN module installation guide.