while (<$fh>) { ..read/process file header last if /End-Of-Header/; } while (<$fh>) { ...read/process file body }
In reply to Re: Trying to do multiple while loops on the same input file
by runrig
in thread Trying to do multiple while loops on the same input file
by elef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |