in reply to Reading a file from any arbitrary place in the file.

Do you mean to print all of the lines after "This is the temp line."? If so, this should do the trick:
$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
    Sorry, typed too fast; the regex should be "This is the temp line". I'm sure you get the idea, though.