Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Having trouble with pperl (Persistent Perl) and CGI

by Your Mother (Archbishop)
on Apr 24, 2008 at 21:45 UTC ( [id://682730]=note: print w/replies, xml ) Need Help??


in reply to Re: Having trouble with pperl (Persistent Perl) and CGI
in thread Having trouble with pperl (Persistent Perl) and CGI

I did not even know that. Nice. It explains, I think, the problem I've seen using CGI inline in TT2 templates from within Catalyst. [% USE CGI %] hangs the server (on submits IIRC) while [% USE CGI(foo) %], fake initializer, works fine. Now I know why. :)

Replies are listed 'Best First'.
Re^3: Having trouble with pperl (Persistent Perl) and CGI
by blahblahblah (Priest) on Apr 25, 2008 at 00:16 UTC
    This sounds a lot like what would happen if you had read STDIN already before calling new CGI(). If you just want to create a CGI object without it trying to automatically read the script's input, you can initialize it with an empty string: new CGI("").

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found