Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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:03 UTC ( [id://314835]=note: print w/replies, xml ) Need Help??


in reply to 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?

Unfortunately, I don't know how to fix my environment (actually, I don't know what's wrong with it). I was hoping by getting the summary.pl to run with some variables passed to it that it would have gotten previously I would get further along in my debugment efforts. The command line error at 56 is referring to a CGI variable that I usually would have passed to it, so it can't find the template because I haven't passed the correct variable info. (Does that make sense?)

Lori

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

Replies are listed 'Best First'.
Re: How do I run .pl script from Unix command line, and pass CGI variables to it?
by Abigail-II (Bishop) on Dec 15, 2003 at 16:20 UTC
    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://314835]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found