while($line=<FH>) { print("outer: $line"); while($nextline=<FH>) { print("inner: $nextline"); } print("finished inner\n"); } print("finished outer\n");
In reply to Re^5: reading lines from a text file
by ikegami
in thread reading lines from a text file
by misba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |