in reply to the variable is lost
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: the variable is lost
by cruise (Acolyte) on Mar 09, 2012 at 08:19 UTC | |
by davido (Cardinal) on Mar 09, 2012 at 08:21 UTC | |
by cruise (Acolyte) on Mar 09, 2012 at 08:42 UTC | |
by cruise (Acolyte) on Mar 09, 2012 at 08:26 UTC | |
by davido (Cardinal) on Mar 09, 2012 at 08:32 UTC |