The stupid question is the question not asked | |
PerlMonks |
Re^4: Use method/function signatures with Perlby xdg (Monsignor) |
on Dec 06, 2004 at 19:52 UTC ( [id://412739]=note: print w/replies, xml ) | Need Help?? |
I think if you read the POD closely, you'll see Params::Validate does what you want. E.g. (from the POD,
You can also set a global on_fail callback to die however you want. -xdg Code posted by xdg on PerlMonks is public domain. It has no warranties, express or implied. Posted code may not have been tested. Use at your own risk.
In Section
Meditations
|
|