Is there a difference between Perl's shift versus assignment from @_ for subroutine parameters?
- by cowgod
Let us ignore for a moment Damian Conway's best practice of no more than three positional parameters for any given subroutine.
Is there any difference between the two examples below in regards to performance or functionality?
Using shift:
sub do_something_fantastical {
my $foo = shift;
my $bar = shift;
my $baz = shift;
my…