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

Re^3: Strange @INC behavior

by ysth (Canon)
on Oct 18, 2004 at 10:11 UTC ( [id://400105]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Strange @INC behavior
in thread Strange @INC behavior

It should be UserAgent.pm. Can you try the above snippet with LWP::UserAgent instead of LWP::Simple? And also show the output of the command: perl -V

Replies are listed 'Best First'.
Re^4: Strange @INC behavior
by MistaMuShu (Beadle) on Oct 20, 2004 at 05:01 UTC
    I recieve the same "Can't locate" message as above. In haste, and because I needed many other packages, I went ahead and did a dist-upgrade to sarge/testing, so now I do have 2 versions of perl installed :-( I'm afraid I've probably made my situation worse, but I'm going to give it another shot and try to figure it out on my own. 5.6.1 and 5.8.4 are both installed now.
      Multiple versions of perl should coexist with no problems (though /usr/bin/perl can only be one of them :).

      So is it saying "Can't locate HTTP/Status.pm in @INC" or "Can't locate LWP/UserAgent.pm" in @INC" ? (HTTP::Status is also part of LWP, and should be there.) If the file it is complaining about is really there, try

      print(do "full-pathname-to-.pm-file" ? "ok" : "error: $!");

Log In?
Username:
Password:

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

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

    No recent polls found