I usually just use hashrefs. The only validation I do is ensuring that the keys I need exist (and any validation I may have to do on individual arguments.) Extraneous arguments are, in particular, fine by me. This comes in handy when I have more than one function that take different but overlapping sets of parameters.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Your named arguments
by sauoq
in thread Your named arguments
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |