open (INTFILEin, '<', $intfile) or die ("Cannot open file $intfile") unless -f $intfile;Having the 'unless' clause there seems a little unusual. Can you try deleting that?
Also, make sure you use warnings.
In reply to Re: Reopen a closed file for read
by toolic
in thread Reopen a closed file for read
by twdgt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |