in reply to Reading a file from any arbitrary place in the file.
$print = 0; while ( <DATA> ) { if ( $print ) { print; } if ( /^This is a temp line\./ ) { $print = 1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading a file from any arbitrary place in the file.
by Anonymous Monk on Nov 21, 2005 at 19:29 UTC |