Jump to content

First Time Using Perl, Can't Seem To Figure This Out


proggR

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.