Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: PerlSetVar and PerlPostReadRequestHandler

by redhotpenguin (Deacon)
on Dec 07, 2007 at 19:48 UTC ( [id://655730]=note: print w/replies, xml ) Need Help??


in reply to Re^2: PerlSetVar and PerlPostReadRequestHandler
in thread PerlSetVar and PerlPostReadRequestHandler

I don't understand what you mean when you say 'someone dumps the environment'. You could use 'SetHandler modperl' instead of 'SetHandler perl-script' in httpd.conf, it keeps %ENV from being reset between requests IIRC

  • Comment on Re^3: PerlSetVar and PerlPostReadRequestHandler

Replies are listed 'Best First'.
Re^4: PerlSetVar and PerlPostReadRequestHandler
by olus (Curate) on Dec 07, 2007 at 20:11 UTC
    By dumping the environment I meant Dumper(\%ENV) to the browser, and that would display everything.
    I am trying to prevent some possible mistakes.

    I can use modperl as the handler for the Location that is to be aware of this VAR but still, PerlSetEnv, from the documentation, has server scope, so things will be available application wide.

    --
    olus

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found