reading output file data as input data
From: Stephen Moon (vibfft_at_yahoo.com)
Date: 02/28/04
- Next message: Tad McClellan: "Re: LWP User Agent/HTTP Request help needed!"
- Previous message: Yuri Shtil: "how die in AUTOLOAD"
- Next in thread: Tad McClellan: "Re: reading output file data as input data"
- Reply: Tad McClellan: "Re: reading output file data as input data"
- Reply: Beable van Polasm: "Re: reading output file data as input data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2004 14:51:08 -0800
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
- Next message: Tad McClellan: "Re: LWP User Agent/HTTP Request help needed!"
- Previous message: Yuri Shtil: "how die in AUTOLOAD"
- Next in thread: Tad McClellan: "Re: reading output file data as input data"
- Reply: Tad McClellan: "Re: reading output file data as input data"
- Reply: Beable van Polasm: "Re: reading output file data as input data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|