On Tue, 23 Dec 2003 08:50:27 +1300 Support <[EMAIL PROTECTED]> wrote:
> The module is Pcalc.pm from CPAN. My website host does not have it in their > server and suggested I place it in the same directory as my original script > and just call it from there ??. I take then I do not have to go through all > the install carry-on like 'makefile', etc on to have install itself in the > correct place on the server. The module appears to be complete as it is. > Sorry people, I have read a bit about modules, but do not yet fully understand. > > > >If your script is not too big, why not post it, and maybe we can help you > >find the error of your ways I don't know if Pcalc needs to be made or not, but assuming it doesn't, place it as suggested in your script directory, now, your program should look like this as modified for your OS and paths #/usr/bin/perl -w use lib '/path/to/module'; use Pcalc; # rest of program ps. I just checked cpan> i /Pcalc/ Distribution S/ST/STBEY/Date-Pcalc-1.2.tar.gz Module Date::Pcalc (S/ST/STBEY/Date-Pcalc-1.2.tar.gz) 2 items found So is that the module you are trying to use? If so you might (because I don't know) need to make a directory "Date" in your working directory, place Pcalc in that Date directory and the use lines then becomes. use lib '/path/to/working_directory'; use Date::Pcalc Please corresspond to the list, not me personnally -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>