in reply to can you seek() on STDIN
Simplified is it this: In a CGI script I'm working on I need to read STDIN twice, but unfortunately after reading it once STDIN no longer contains anything; its length is zero. So I'm asking if there is a way to get STDIN back after the first read -- I've tried everything, without success.
--nutshell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can you seek() on STDIN
by Abigail-II (Bishop) on May 04, 2003 at 10:11 UTC | |
|
Re: can you seek() on STDIN
by Coruscate (Sexton) on May 04, 2003 at 04:39 UTC | |
by nutshell (Beadle) on May 04, 2003 at 04:43 UTC |