Not to mention it's analogous to the behavior of shift in shell scripts which is often used in this way (just a bare shift to toss the value in $1 after retrieving it previously; especially in getopt-ish code).
--
We're looking for people in ATL
In reply to Re^2: shift doesn't DWIM
by Fletch
in thread shift doesn't DWIM
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |