Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Prototypes allow overloading subs?by Aristotle (Chancellor) |
on Dec 08, 2002 at 13:30 UTC ( [id://218364]=note: print w/replies, xml ) | Need Help?? |
Perl is just too dynamic. The biggest obstacle is that you can often not know whether you're getting a list or scalar - much like in your example. It gets a whole lot worse when you say something like add(numbers($foo)) and numbers() can return anything from one invocation to the next.
Makeshifts last the longest.
In Section
Meditations
|
|