in reply to Open file for output errors
I suppose it might also be related to your odd filehandle scoping, but Perl should be handling that cleanly.open $OFH, ">", "$directory_name/$output_file_name" or die "Could not open output file: $directory_name/$o +utput_file_name\n$!";
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Open file for output errors
by Kenosis (Priest) on Nov 21, 2013 at 21:31 UTC | |
|
Re^2: Open file for output errors
by steidley (Initiate) on Nov 21, 2013 at 22:09 UTC | |
by Anonymous Monk on Nov 22, 2013 at 03:20 UTC |