If you don't mind using XML::LibXML, it supports http URIs ;)
In reply to Re: Using XPath to Retrieve Remote XML Data by lestrrat in thread Using XPath to Retrieve Remote XML Data by Spenser