Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Parse error with subroutines and <by TedYoung (Deacon) |
on Dec 14, 2007 at 20:02 UTC ( [id://657103]=note: print w/replies, xml ) | Need Help?? |
Good call on the arity! The reason I didn't want to give them a () prototype is because I will find it convenient to call them like:
sometimes. I was getting ready to respond, it occurred to me that -> notation ignores prototypes! Yay! I get the best of both words. I guess it helps to talk things out! Thanks! Ted Young ($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
In Section
Seekers of Perl Wisdom
|
|