Page 1 of 1

How do I modify @INC?

PostPosted: 14. November 2004 19:35
by pipellete
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?

PostPosted: 14. November 2004 19:51
by Dave_L
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.