Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Are there reasons to instantiate the CGI object more than once?

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

  • Comment on Re: Are there reasons to instantiate the CGI object more than once?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://132048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2023-06-08 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (34 votes). Check out past polls.

    Notices?