SPUG: XML::RSS error
Jeremy G. Kahn
kahn at cpan.org
Mon Sep 18 17:41:55 PDT 2006
It appears that your $data is probably empty or not valid XML. put in
some warnings after line 2 of your exmaple?
or maybe post an entire test script?
-jeremy
luis medrano wrote:
> I trying to run this code:
>
> my $rss=XML::RSS->new();
> my $data=get($url);
> $rss->parse($data);
>
> but at the moment when I run this code I have this error:
>
> no element found at line 1, column 0, byte -1 at
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/XML/Parser.pm
> line 187
> $ vi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/XML/Parser.pm
> $ vi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/XML/Parser.pm
> ------------------------------------------------------------------------
>
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays
> WEB PAGE: http://seattleperl.org/
More information about the spug-list
mailing list