Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
In CGI module doc. It state "COMPATIBILITY WITH CGI-LIB.PL"
Then it said "OLD VERSION require "cgi-lib.pl"; &ReadParse; print "The value of the antique is $in{antique}.\n";
NEW VERSION use CGI; CGI::ReadParse; print "The value of the antique is $in{antique}.\n";"
But for Form/input ...in cgi-lib used this
But it wouldn't work in CGI. So how to make it work using CGI module.#!/usr/bin/perl require "cgi-lib.pl"; &ReadParse(*input); $uname= $input{'username'}; ........
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi-lib to cgi
by tilly (Archbishop) on Jun 16, 2005 at 03:40 UTC | |
|