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 <>;
In reply to Re: Reading a file from any arbitrary place in the file.
by chibiryuu
in thread Reading a file from any arbitrary place in the file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |