in reply to Re: Which, if any, is faster?
in thread Which, if any, is faster?

And while we are at it, a
sub xx { my $var1 = shift; my $var2 = shift; ...
is faster than
sub xx { my ($var1,$var2) = @_; ...
It also gives you the oportunity for better comments and I personally feel more safe if crunching @_ instead of copying and leaving it untouched.

Bye
 PetaMem
    All Perl:   MT, NLP, NLU