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

The following code uses readline's use of $/ as the line ender.

{ # Temporarily set $/. local $/ = "This is the temp line.\n"; <>; } while ( <> ) { print; }

Thanks Roy Johnson for the tip on the spelling error.