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

Re: freeware scripts (was Re: [MacPerl] learning UNIX concepts)



Patrick,

Fire up Shuck and select MacPerl:lib:CGI.pm. Read the extensive docs. CGI.pm
does just about anything you would want with web forms. You can even do simple
little tests interactively, create pages on the fly (forms and processed
output). It's close to the de facto standard for doing CGI with perl.

Try this little useless script to scrape the surface. You can enter name/value
pairs in the MacPerl window as 
foo=bar
this=that
control-D to end
--------------- useless script follows-------------
#!perl -w

use CGI;

my($query) = new CGI;
print $query->header;
print $query->start_html;
print $query->end_html; 

-----------end useless script--------------

Geoff

Patrick Beart wrote:
> 
> 
>         Unfortunately, it doesn't speak to the REAL issue, IMO. The MOST
> important function of a CGI script is to process HTML Form Data! As a Web
> Developer, I can speak to the fact that a script written for any other
> purpose, with respect to Internet/Web applications, is secondary.

> JavaScript or (PERL-based) CGI. ... and the JS solution isn't a viable
> answer, due to incompatibilities with older browsers - specifically IE3.
>         If anyone knows of other options, with respect to this issue, I

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