in reply to Re: Re: Redirect and using CGI constructor
in thread Redirect and using CGI constructor
$query is a reference to a hash, and this hashref is blessed into the class CGI. Try running this one liner:
perl -e 'use CGI; $cgi = CGI->new; print $cgi, "\n\n";'
The CGI->new() is simply a way of saying run the method 'new' of the module 'CGI'. This method returns the blessed hashref above.
This can all get really confusing in the beginning, try perldoc perltoot for a fairly nice introduction.
--tidiness is the memory loss of environmental mnemonics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Redirect and using CGI constructor
by Anonymous Monk on Nov 17, 2003 at 16:27 UTC | |
by EvdB (Deacon) on Nov 17, 2003 at 16:32 UTC |