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.
|
---|
In Section
Meditations