PointSingularity Posted June 7, 2008 Share Posted June 7, 2008 I'm trying to run a script, but receive the error: Can't locate x.pl in @INC [...] Then it lists what directories it's looking in. But x.pl is in the same dir as the script I'm trying to run! How can I change this? I'm running Apache on Fedora 9 btw. Link to comment https://forums.phpfreaks.com/topic/109116-solved-perlcgi-not-looking-in-current-dir/ Share on other sites More sharing options...
PointSingularity Posted June 7, 2008 Author Share Posted June 7, 2008 Nevermind this, after doing several tests, googling, etc. I've concluded that it's not a question about setting a location in some general perl/cgi config file, but is a problem with the software I'm trying to run. Well, this specific problem was actually solved by chmod'ing x.pl to 755, but now there's a whole new set of problems. Anyways, I'll mark this as solved since I've answered my own question... sort of... the question was like completely wrong in the first place and it's a whole other problem now. Link to comment https://forums.phpfreaks.com/topic/109116-solved-perlcgi-not-looking-in-current-dir/#findComment-559928 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.