in reply to Prototype Killer
Whether prototypes are evil or possibly not, do you really want to do this to an existing script?
Among other possible problems, if you had code like this, you'd break it:
After your "fix", this would print "123" instead of "3"...sub a($) { print @_,"\n"; } my @x=qw(1 2 3); a(@x);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Prototype Killer
by tadman (Prior) on Sep 04, 2002 at 11:41 UTC | |
by RMGir (Prior) on Sep 04, 2002 at 11:46 UTC | |
by tadman (Prior) on Sep 04, 2002 at 11:57 UTC |