Somewhat sneaky, thanks. I was trying to avoid intermediate storage, as in the worst case I need to store 2.5 million positions (lines in the file), but I guess that's doable on modern machines.
In reply to Re^2: Using File::ReadBackwards or equivalent on pre-existing file handle
by HYanWong
in thread Using File::ReadBackwards or equivalent on pre-existing file handle
by HYanWong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |