in reply to Re^3: How to pass two lists to a sub?
in thread How to pass two lists to a sub?

The main reason I use shift over @_ is to easily set up defaults and quickly get some error checking out of the way.
Consider:
my $var1 = shift || 'default'; my $var2 = shift || return 0;