proggR Posted October 28, 2009 Share Posted October 28, 2009 A friend and I wanted to toy with some imageboard software. The most common software is perl based so i've installed XAMPP and edited the imageboard's config file but when I go to the script in my browser I get: Error message: Can't locate config.pl in @INC (@INC contains: . C:/xampp/perl/site/lib/ C:/xampp/perl/lib C:/xampp/perl/site/lib C:/xampp/apache) at C:/xampp/htdocs/wakaba/wakaba.pl line 16. BEGIN failed--compilation aborted at C:/xampp/htdocs/wakaba/wakaba.pl line 16. , What I don't get about it is line 16 of wakaba.pl is right after it says use lib '.'; so I can't see why it can't find the config file since its in the same directory. Here's that couple lines of code: use lib "."; BEGIN { require "config.pl"; } Like I said, its the first time I've used perl so I don't know where to go from here. Google hasn't really helped. I found something about adding the directory to the PERL5LIB variable but I don't even know how to do that. If anyone can help that'd be awesome. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/179404-first-time-using-perl-cant-seem-to-figure-this-out/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.