Works like a charm, thanks! 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Kubasek
Sent: Tuesday, November 13, 2007 11:36 AM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Manually passing arguments to a cgi program

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
<[EMAIL PROTECTED]> 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
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>

-------------------------------------------------------------------------
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
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users


-------------------------------------------------------------------------
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
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to