I have a file I've opened,
somewhere in the body, I realize that what I need is on the next line of the file.open TF, "< $tfile" ; foreach $line (<TF>) {
Is there a way within the foreach loop to get the next line? And is there a way to advance the file handle so it doesn't re-read the next line in the foreach loop?
In reply to advancing in file read by cammac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |