is faster thansub xx { my $var1 = shift; my $var2 = shift; ...
It also gives you the oportunity for better comments and I personally feel more safe if crunching @_ instead of copying and leaving it untouched.sub xx { my ($var1,$var2) = @_; ...
Bye
PetaMem All Perl: MT, NLP, NLU
In reply to Re^2: Which, if any, is faster?
by PetaMem
in thread Which, if any, is faster?
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |