in reply to using shift and $_ in loop
for (@_) { print; # using $_ here } [download]
See shift, @_.