Re: File Handle Reading Blues: Rereading a File Handle for Input
From: Joe Smith (Joe.Smith_at_inwap.com)
Date: 07/22/04
- Next message: ulloa: "DBI and DBI::Oracle packages configuration"
- Previous message: Joe Smith: "Re: open file through web page and supply an incremented name...."
- In reply to: Dietrich: "File Handle Reading Blues: Rereading a File Handle for Input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jul 2004 10:02:30 GMT
Dietrich wrote:
> 18 print INVARS_NW <INVARS_READ>;
That reads the entire contents of the input file, all the way to the
end of the file, and sends it to the output. Once you've read
all the way to EOF, you cannot read anymore. Either close and
re-open the input file, or learn how to use the seek() function.
-Joe
P.S. Next time, post to comp.lang.perl.misc and not here (comp.lang.perl).
- Next message: ulloa: "DBI and DBI::Oracle packages configuration"
- Previous message: Joe Smith: "Re: open file through web page and supply an incremented name...."
- In reply to: Dietrich: "File Handle Reading Blues: Rereading a File Handle for Input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|