It shouldn't be too hard. You can:

A. Use "print" to create a debug HTML page that includes your results so your browser can show them to you. Do you already know how to program in perl? If not, try http://www.perl.org and http://www.perl.com.

B. You can use print to print the results right back to the console. You would, however, have to pass the argument to your perl program manually instead of with a browser.

C. Back on the HTML tack, there are several perl modules that provide for web interfacing that help with argument passing and parsing as well as HTML page generation.

Or perhaps is missed something even simpler. Do you know about ARGV[]?
Noel

Chris Beggy wrote:
On 9 Aug 2002, "Kabai J" <[EMAIL PROTECTED]> wrote: 

  
Hi, you can debug the perl scripts with -d switch, for example :

perl -d login.pl "login=demo&password=demo&action=login&path=bin/mozilla"
    

Thanks.  My goal is to capture the arguments passed to the cgi
script by the http POST command.  Then, I will use that to create
shell scripts of command line calls.

Chris


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
-------------------------------------------------------
(un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users
Archive: http://www.mail-archive.com/[email protected]/

  

Reply via email to