I remember back in '99 when Paul Sack wrote:
> I'm working on a perl/cgi script. When I run it from the console, I am
> prompted to type name=value on stdin.
> When I am done typing in the name=value pairs, how do I get the script
> to continue execution? Thx.

Probably end the imput stream, e.g. type control-D.

One could also just pipe input to your script

foo.cgi < sample.in

or

cat foo.cgi | foo.cgi

-- 
/* Matt Sayler -- [EMAIL PROTECTED] -- atwork?astronomy:cs
   http://www.cs.utexas.edu/users/mpsayler   -- (512)471-7450
   Have you ever imagined a world with no hypothetical situations? */
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to