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

#!/usr/bin/perl open(DATA,"mahi"); $a=""; $a=$a.$_ while($_= <DATA>); $a =~ /This is the temp line\./g; print $`;

Janitored by holli. Added code tags