S
Stephen Moon
At the command prompt,
I type "perl test.pl <file1> <file2> <file3>" to run the program.
Initially, I open <file1> as an input file and output the information
to <file2>. Later on in the same program, I use <file2> as an input
and write the output to <file3>.
I get an error saying that "filehandler FH opened for output only"
although I close the <file2> and reopen it with a new filehandle.
-Steve
I type "perl test.pl <file1> <file2> <file3>" to run the program.
Initially, I open <file1> as an input file and output the information
to <file2>. Later on in the same program, I use <file2> as an input
and write the output to <file3>.
I get an error saying that "filehandler FH opened for output only"
although I close the <file2> and reopen it with a new filehandle.
-Steve