http://qs321.pair.com?node_id=184887


in reply to (jeffa) Re: Calendar
in thread Calendar won't display day numbers

Man, would I love to utilize those modules, to simplify my life...but...I don't have access to install modules on our webserver (@#$% bad hosting!) and it costs $20 for them to install a module. A module, as in, singular. So...for the time being, I have to write this without the help of those modules.

I'm not too worried about leap years, as this is not going to be a permanant script. It's a fix until the boss forks out some cash.

I'll keep working with this...hopefully it will work well enough.


FoncÚ

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: Calendar
by joealba (Hermit) on Jul 24, 2002 at 16:44 UTC
    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.)