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

Re^2: Can't open file using Perl as CGI

by JennieInMI (Acolyte)
on Dec 27, 2012 at 02:14 UTC ( #1010439=note: print w/replies, xml ) Need Help??


in reply to Re: Can't open file using Perl as CGI
in thread Can't open file using Perl as CGI

Thank you!

I am embarassed to say how long I tried to figure out why the heck Perl could not find a file in the same directory as my script. I wasn't executing the script from the script's directory! Was typing in the whole path to the script and everything. duh! I'm fairly new, but even I know better than that. Thank you for pointing out the (much needed) obvious.

If you were in the same room I would hug you.

Seriously.

  • Comment on Re^2: Can't open file using Perl as CGI

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010439]
help
Chatterbox?
[1nickt]: Ah, you got Linus' fave? With Ubuntu? 4k display?
[1nickt]: ( The 17" monster I just bought is for my wife, who doesn;t leave the house with it...)
[Corion]: 1nickt: No, I'm using it with Windows 10, but with the 4k display, yes. It's a very nice build IMO, and relatively sturdy. Also, it got 8 or 9 on the ifixit repair scale, which I consider good
[Corion]: ... especially as I expect to have to replace the battery set in two or three years' time
[1nickt]: Nice. So happy that Dells are still user-repairable. Unusual these days.
[1nickt]: I will certainly not be buying any more Macs.
[Corion]: 1nickt: Yeah, or at least, I hopoe so ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-03-27 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.