Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by bmccoy (Beadle)
on Dec 14, 2001 at 23:50 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2024-04-25 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found