Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
See how you only use LWP::UserAgent; but then call new methods on to other packages. OK so we have all got used to using HTTP::Request's new() method when we use LWP. But why does this actually work. Afterall we have not a use HTTP::Request; -> because LWP::UserAgent did so this module is in %INC. Evidently you have different versions of LWP::UserAgent. A simple use URI::URL will fix the problem as Fletch notes. So will syncronising you LWP::UserAgent on the problem box with the one on the OK box. You can have a look at all the modules available to a script in %INC like:
cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print In reply to Re: Can't locate object method new via package URI::URL
by tachyon
|
|