Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: passing array of args to prototyped subsby pldanutz (Acolyte) |
on Sep 10, 2013 at 05:38 UTC ( [id://1053166]=note: print w/replies, xml ) | Need Help?? |
Because writing out the code to check arguments is longer and less convenient than writing f ($$), I guess? Yes, I realize it's only a few extra characters, I realize that this example is trivial (since I SIMPLIFY code before posting it), and I realize that the community doesn't seem to like prototypes (possibly for very good reasons)
In Section
Seekers of Perl Wisdom
|
|