Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Environment variables under mod_perl 2

by sgifford (Prior)
on Jun 03, 2009 at 06:25 UTC ( [id://767907]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -T
    
    ...
    
    print "PARENT: PATH is $ENV{PATH}\n";
    print " CHILD: PATH is ",`echo \$PATH`,"\n";
    
  2. or download this
    PARENT: PATH is /usr/bin
     CHILD: PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbi
    +n:/bin:/usr/X11R6/bin
    
  3. or download this
    <Location /cgi-perl>
        Options +ExecCGI
    ...
        PerlOptions +SetupEnv
        allow from all
    </Location>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://767907]
Approved by vinoth.ree
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-03-29 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found