How do I modify @INC?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How do I modify @INC?

Postby pipellete » 14. November 2004 19:35

I can't use perl lib files I created myself. My elog says -

Can't locate FORMAT_PAGE.pm in @INC (@INC contains: .) at C:/apachefriends/xampp/cgi-bin/index.cgi

How can I add a new path to INC?
pipellete
 
Posts: 1
Joined: 14. November 2004 19:30

Postby Dave_L » 14. November 2004 19:51

Try adding near the beginning of the script that uses that module:

Code: Select all
use lib 'xxxxx';


where xxxxx is the path to that module.
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 167 guests