Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.