Keep It Simple, Stupid | |
PerlMonks |
perlfunc:lastby gods (Initiate) |
on Aug 24, 1999 at 22:43 UTC ( [id://331]=perlfunc: print w/replies, xml ) | Need Help?? |
lastSee the current Perl documentation for last. Here is our local, out-dated (pre-5.6) version: last - exit a block prematurely
last LABEL last
The last command is like the
LINE: while (<STDIN>) { last LINE if /^$/; # exit when done with header #... } See also continue for an illustration of how last, next, and redo work. |
|