Re: [MacPerl-WebCGI] Beginner question

[email protected] Mon, 26 Feb 2001 15:52:55 +0900
Newsgroups perl.macperl.webcgi
Message-ID <v04011701b6bfa93f045d@[211.132.154.125]>
Teo Petralia <[email protected]> wrote:
>Does anyone knows what I need to do to text my script and HTML page?

you have two choices you can run the script off-line (which is what you
did) which means you get (if you're using CGI.pm):
>the message "Offline mode: enter name=value  pairs on standard input"
you should enter the input you want to test in pairs like this:
name=Teo [return]
surname=Petralia[return]
[email protected] [return]
....

when you've finished entering the values press [CONTROL]+[D] and the script
will then run with the data you gave it - read the PODs in CGI.pm to
understand more about this and other issues relative to cgis :
Start 'SHUCK'
in the FILE menu choose OPEN
go to MacPerl's folder if you're not already there
open the LIB folder
open CGI.pm


The other way involves setting up your TCP settings which is a lot more
complicated and has been covered many times on this list - check the
archives at
http://bumppo.net/lists/mp.html
use the search function with  'setting up tcp for cgi' as your query.


HTH


Robin