Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: LWP different protocols

by mordy7sh (Initiate)
on Oct 03, 2020 at 10:18 UTC ( #11122511=note: print w/replies, xml ) Need Help??


in reply to Re: LWP different protocols
in thread LWP different protocols

Hi, Thanks for replaying. The issue is that it happens during xml::xpath findallnodes. The xml document have a dtd. None oh those have specific url embedded. So I donít understand which url itís tiring to access or why my college use the file and mine tries to use the http. Can it be connected to some environment variable? I noticed mine have https_proxy and his environment does not. If you know the source for xml library that actually select which protocol to use. Again, thanks a lot for replaying. I know itís not that easy to read someone else problem... Mordy

Replies are listed 'Best First'.
Re^3: LWP different protocols
by hippo (Chancellor) on Oct 03, 2020 at 10:32 UTC
    I donít understand which [URL] itís [trying] to access

    LWP::ConsoleLogger can tell you that.


    🦛

Re^3: LWP different protocols
by choroba (Archbishop) on Oct 03, 2020 at 19:27 UTC
    If libxml2 is involved, note that it can consult external entities based on the XML Catalogues configured on the system.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      Does XML::LibXML use LWP, though?

      By the way, you can instruct XML::LibXML not to perform any fetches.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2020-11-24 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?