As you can see, other solutions are available as well.if (!open FILE, "<test.txt") { # do something if can't open } else { # do something if it is opened for reading }
In reply to Re: valid filehandle
by Vorlin
in thread valid filehandle
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |