I hope that you are checking the return value of open in your real code. (e.g. open FILE, "file.txt" or die "opening file.txt for reading: $!\n";).
In reply to Re: Determining what line a filehandle is on
by wog
in thread Determining what line a filehandle is on
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |