On Wed, Apr 17, 2002 at 12:18:46PM -0400, darren chamberlain wrote:
> Or write the whole of the name=value stuff to a file, and invoke it as
> QUERY_STRING="`cat filename`" perl -d gene_manager.cgi and then only
> change the file that contains the data, and not the huge commandline.

There are some subtle differences between the two. Putting it on the
command line is making it available for the CGI.pm debugging emulation
environment. Putting it into the QUERY_STRING environment variable is
making it think that it is coming from a web server (but it still
thinks it is in debug mode because REQUEST_METHOD wasn't set.)

Putting the whole command line into "filename" or moving the `cat
filename` to the end should work. There also may be a way of setting
it in the .perldb startup file. (but I've never found .perldb to be a
useful as I want it to be.)

-- 
"Daddy. The Powerpuff Girls aren't fighting. 
They are saving the day." -- Samantha Langmead, age 4 1/2.

Reply via email to