in reply to Re: Re: How do I run .pl script from Unix command line, and pass CGI variables to it?
in thread How do I run .pl script from Unix command line, and pass CGI variables to it?

Odd. CGI programs ran from the command line used to prompt the user for keyword/value pairs.

Anyway, have you read the DEBUGGING section in the CGI.pm manual page?

Abigail

  • Comment on Re: How do I run .pl script from Unix command line, and pass CGI variables to it?

Replies are listed 'Best First'.
Re: Re: How do I run .pl script from Unix command line, and pass CGI variables to it?
by Lori713 (Pilgrim) on Dec 15, 2003 at 16:30 UTC
    That's exactly what I needed. I can type in at the command line: summary.pl rpt_id=1_summary, and it passes the value of the CGI variable "rpt_id" to my script, which then ran beautimously. Thanks!

    Now, I just need to figure out why I get a "java" error on the web page, but not in Unix. More fun! ;-)

    Lori