In addition to the above, your arguments to open are wrong, see IO::File. Try this instead:
... my $fh=IO::File->new; if ($fh->open("$file","<")) { ...
In reply to Re: simple to describe I/O problem
by Anonymous Monk
in thread simple to describe I/O problem
by dottornomade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |