while (<$data>) { last if /^internal name/; } while (<$data>) { # do what you want! }
PS: there's a predefined DATA filehandle. Do not clobber it. In any case I recommend you to use lexical handles. And to do error checks of course...
In reply to Re: seek and process from there on
by blazar
in thread seek and process from there on
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |