Skip Menu |

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

Report information
The Basics
Id: 13523
Status: resolved
Priority: 0/
Queue: XML-RSS

Owner: Nobody in particular
Requestors: MARKSTOS [...]

Bug Information
Severity: Normal
Broken in: 1.05
Fixed in: (no value)

Subject: encode generates warnings for undefined text (includes patch)
Download (untitled) / with headers
text/plain 457b
I'm using XML::RSS as part of a cron script, and it is generating mail to be every hour because undefined text is being passed through encode(). Changing the opening lines to encode() to look like this fixes it: sub encode { my ($self, $text) = @_; return $text unless ($self->{'encode_output'} and defined $text); (I simply added a check that is defined. If it's not, there is no point in proceeding anyway, because there is nothing to encode!)
Fixed in SVN (will be in 1.20 in a day or two), thanks!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to