Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: The value of declarations

by autarch (Hermit)
on Apr 07, 2009 at 07:19 UTC ( [id://755940] : note . print w/replies, xml ) Need Help??


in reply to The value of declarations

I wrote MooseX::StrictConstructor to check for unknown arguments to the constructor. Very handy.

Params::Validate has long supported a similar feature, and by default it blows up on unknown names in a set of named arguments.