Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: where the module file *.pm located

by 1nickt (Canon)
on Jul 20, 2017 at 16:22 UTC ( [id://1195635]=note: print w/replies, xml ) Need Help??


in reply to where the module file *.pm located

When your script tries to use File::Readbackwards, Perl looks in the directories in @INC to find a directory called File with a file Readbackwards.pm in it. Just make it so :-)


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: where the module file *.pm located
by ytjPerl (Scribe) on Jul 20, 2017 at 17:23 UTC

    I already put ReadBackwards.pm at location \perl\site\lib and \perl\lib, but still not working.

      As was already explained, that file needs to go into a directory called 'File' -- so you should move the file ReadBackwards.pm from \perl\site\lib to the new location \perl\site\lib\File. (Hint: you may need to create that directory.)

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found