perlAffen has asked for the wisdom of the Perl Monks concerning the following question:
When I try to run the File::Tail pm I get an error that the File::HiRes pm can not be located, despite my copying HiRes.pm everywhere, including the explicit paths stated by @INC. This is activestate perl on windows, so I don't think it is a permission problem. Any ideas ?
Re: @INC problems with File::Tail
by Paladin (Vicar) on Nov 29, 2005 at 20:06 UTC
|
Do you mean Time::HiRes? If so, you can't install it by just copying the HiRes.pm file as the module includes some compiled C code as well.
You can install it by typing ppm install Time::HiRes at a DOS Prompt.
| [reply] [d/l] |
Re: @INC problems with File::Tail
by talexb (Chancellor) on Nov 29, 2005 at 21:51 UTC
|
In addition to the reply you've just received, my recent node on @INC may prove useful to you.
Copying files into numerous places doesn't influence Perl; a module just has to be installed in one place correctly for it to be picked up. Alternatively, you can specify use lib path_to_module to get your script going, or set the environment variable PERLLIB to get the same effect.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
| [reply] [d/l] [select] |
|