[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#483373: ITP: libmoosex-strictconstructor-perl -- Makes Moose object constructors blow up on unknown attributes



Package: wnpp
Severity: wishlist
Owner: Antony Gelberg <antony@wayforth.co.uk>


* Package name    : libmoosex-strictconstructor-perl
  Version         : 0.05
  Upstream Author : Dave Rolsky <autarch@urth.org>
* URL             : http://search.cpan.org/dist/MooseX-StrictConstructor/
* License         : GPL, Artistic
  Programming Lang: Perl
  Description     : Makes Moose object constructors blow up on unknown attributes

 Using this class to load Moose instead of just loading using 
 Moose itself 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.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: