There's more than one way to do things | |
PerlMonks |
Re^3: Forcing list context of passed parametersby Fletch (Bishop) |
on Sep 28, 2007 at 22:38 UTC ( [id://641629]=note: print w/replies, xml ) | Need Help?? |
Prototypes in perl aren't parameter checking, they're hints to the compiler that you're trying to mimic the calling convention of a builtin. If you still want parameter checking look into something like Params::Validate.
In Section
Seekers of Perl Wisdom
|
|