in reply to RE: CGI object already instantiated?
in thread CGI object already instantiated?
The new "Mark Dominus Approved" ;) method:
Much simpler, much easier, no headaches. Thanks!sub new { my $class = $_[0]; my $cgi = CGI->new({}); my $objref = { _active => 1, _border => 1, _continue => 0, _cgi => $cgi, _pretty_not_installed => 0 }; bless $objref, $class; return $objref; }
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
|
|---|