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>