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

1 .. /^This is the temp line\.$/ or print while <>;

Use of the range operator in scalar context, Yay!

If you want to include "This is the temp line", you can do this:

/^This is the temp line\.$/ .. 0 and print while <>;