Looks ok to me from the snippet - are you setting the
Also, I thought the XML::RSS support for 2.0 was in its very early stages at the moment so it may need more work before it supports everything you need it to do? Fairly sure it has full support for 0.9, 0.91, 0.92 and 1.0. I think enclosures were introduced back in 0.92 though so maybe the module's a bit buggy for 2.0 - what happens if you change the rss version header back e.g. "my $rss = new XML::RSS (version => '0.92');"?
Also, why are you puttin your attribute names in quotes? That might be causing it?
Paul Clarke's blog - I live in Hythe in Kent. Wed and dad to two, I am a full stack web engineer, + I do js / Node, some ruby, python, php ect ect. I like pubs, running, restaurants, home-automation and other diy jiggery-pokery, history, tree stuff, Television, squirrels, pirates, lego, + time travel.