Skip Menu |

This queue is for tickets about the XML-SAX CPAN distribution.

Report information
The Basics
Id: 4779
Status: resolved
Priority: 0/
Queue: XML-SAX

People
Owner: Nobody in particular
Requestors: korsani [...] ifrance.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Socket
I use URI.pm, and this is the first line of the file: # $Id: URI.pm,v 1.1 2001/11/11 18:41:51 matt Exp $ I use it to read a socket (/tmp/wdfifo) that spit XML, and it seems not working because it is a socket (even if there is only plain text coming from that socket) This is the error message: "LWP Request Failed at /usr/lib/perl5/vendor_perl/5.8.1/XML/SAX/PurePerl/Reader/URI.pm line 52." If line 18 is if (-e $uri) { instead of if (-e $uri && -f _) { It works for me :)