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

Re: [MacPerl] the return of newbie :)



David Barro writes:

> Back in the OLD way (un*x) I used to have a statement in my cgi
> scripts that said:  require "cgi-lib.pl", another statement that
> said: &ReadParse (*input) (or something very close to that)
> and I basically referred to all the input from a web page by its
> symbolic variable name from the html code...
> 
> ReadParse was a very nice utility from the cgi-lib.pl utility set
> that I had.... My question is...

cgi-lib.pl and ReadParse are still available.  However, nowadays the
most popular replacement is the CGI.pm perl module which is employed
via:

   use CGI;

and then various "methods" (yes its kinda OO).
 
> Now that I'm in the NEW way, is/are there any equivalent utilities
> that I'll have to make reference to via a require statement?  

Try to pay a visit to:

  http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html

  http://www.perl.com/CPAN-local/doc/FAQs/cgi/perl-cgi-faq.html

Lincoln Stein's CGI.pm is available from:

  http://www.perl.com/CPAN-local/authors/Lincoln_D_Stein/

and it contains pod documentation (for which you can use shuck)

Peter Prymmer
 

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