[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Testing a form page..



At 10.34 98.01.27, Amitava Basu wrote:
>Can anyone suggest if it is possible to view my form on my
>mac terminal without loading it on any web server on the
>internet.

If you are using CGI.pm, you can just run the script from within MacPerl.

So for a script that might be called with

  http://some.host.com/cgi-bin/script.acgi?some=field&foo=bar

You would run it, and the MacPerl window would show:

  (offline mode: enter name=value pairs on standard input)

Below that, you type:

  some=field
  foo=bar

And when done, you hit return and control-D.  CGI.pm uses those parameters
to feed to the CGI script.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==       New Book: MacPerl:  Programming for the Rest of Us       ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch