Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 avoiding work at the Monastery: (2)
As of 2015-07-05 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls