So what output did you get?
It might help to verify the return value of open, as in, "open $fh, '<', $_ or die $!;" so you'll know if the open is failing.
Dave
In reply to Re: the variable is lost
by davido
in thread the variable is lost
by cruise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |