note
GrandFather
<blockquote><i>The shift without an argument defaults to @_.</i></blockquote>
<p>except in main scope (outside a sub) where [mod://shift] operates on @ARGV by default. Consider:</p>
<c>
perl -e "print shift" wibble
</c>
<p>Prints:</p>
<c>
wibble
</c>
<div class="pmsig"><div class="pmsig-461912">
<hr>Perl is environmentally friendly - it saves trees
</div></div>
648616
648621