![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Are there reasons to instantiate the CGI object more than once?by bmccoy (Beadle) |
on Dec 14, 2001 at 23:50 UTC ( #132048=note: print w/replies, xml ) | Need Help?? |
Sure -- you can create another object that takes as its params a file -- you get a pre-loaded, stateful CGI object.
In mod_perl, in some cases you need to create lexically scoped CGI objects rather than a global one (or pass the CGI object into a sub as a reference). -- Brett Go not to the Elves for counsel, for they will say both no and yes
In Section
Seekers of Perl Wisdom
|
|