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 :)