Yes, I think there's a substantial difference in performance. Feel free to Benchmark.
Also, doing my ($first, $second) = @_; instead of referencing $_[0] and $_[1] directly adds to the cost. It doesn't give anything in return either, since the names are no more descriptive than $_[0] and $_[1].
In reply to Re^3: Accessing $a and $b of 'sort' across package boundaries
by ikegami
in thread Accessing $a and $b of 'sort' across package boundaries
by ff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |