![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: (jeffa) Re: Calendarby joealba (Hermit) |
on Jul 24, 2002 at 16:44 UTC ( #184936=note: print w/replies, xml ) | Need Help?? |
Well, when you're in Rome, the Romans don't need to know everything you do. :) FTP the module to your cgi-bin directory. (Make sure you follow the directory paths for the leading bits of the module name though.) So for HTML::CalendarMonthSimple, you'd make the directory /path/to/your/cgi-bin/HTML and FTP the file CalendarMonthSimple.pm to that directory. Then put this line in your code: use lib '/path/to/your/cgi-bin'; That will tell your script to look for modules in this directory first. (Technically, it prepends the @INC array with this path.)
In Section
Seekers of Perl Wisdom
|
|