Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Do you know where your variables are?
 
PerlMonks  

How to safely define a CGI program's application base directory

by ddmiller (Initiate)
on Feb 10, 2013 at 20:28 UTC ( #1018072=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!\strawberry\perl\bin\perl.exe
    use strict;
    ...
    open (LOGFILE, ">>$logfile") || die "couldn't open log file \n";
    print LOGFILE "test log file line";
    close(LOGFILE);
    
  2. or download this
    Insecure dependency in open while running with -T switch at MyCgiProg.
    +pl line 8.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1018072]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-04-18 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls