Re: [Arsperl-users] Manually passing arguments to a cgi program
Brought to you by:
jeffmurphy
|
From: Joseph K. <jos...@gm...> - 2007-11-13 18:42:27
|
Steve, Are you using the CGI Perl module version 2.57 or later? If so, you can pass the parameters on the command line: ./foo.cgi ticket=25314 action=close user=joeuser key=5df83sk3 Another option is to use the debug flag in your cgi: use CGI qw( -debug ); This should make the script prompt you for the inputs when you run it like old versions of CGI.pm did. I have not tried this second method myself though. Joe Kubasek On Nov 13, 2007 12:17 PM, Steve McDonald <ste...@ch...> wrote: > > > Can anyone help me with the syntax for passing arguments to a cgi program > via the unix command line? Someone else is writing the web interface to the > program and I don't want to wait to get the debugging started. > > > Thanks! > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > |