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 $`; [download]
Janitored by holli. Added code tags