http://www.perlmonks.org?node_id=11108855


in reply to Using XML::RSS to produce an RSS 2.0 feed with Dates within Items

You have a typo: PubDate should be pubDate in $rss->add_item.

Also, from the perldoc: Note: In order to parse and generate dates (such as pubDate and dc:date) it is recommended to use DateTime::Format::Mail and DateTime::Format::W3CDTF , which is what XML::RSS uses internally and requires.