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);
In reply to Re: Prototype Killer
by RMGir
in thread Prototype Killer
by tadman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |