Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

@INC problems with File::Tail

by perlAffen (Sexton)
on Nov 29, 2005 at 19:43 UTC ( [id://512756]=perlquestion: print w/replies, xml ) Need Help??

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 ?

Replies are listed 'Best First'.
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.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://512756]
Approved by friedo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-20 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found