#!/usr/bin/perl
use XML::RSS;
my $description = "How do I get this to be CDATA?";
my $rss = new XML::RSS (output=>'2.0');
$rss->channel(
title => "Sample RSS Feed",
'link' => "http://www.somewhere.com",
description => "Example Feed",
);
$rss->add_item(
title => "Test",
'link' => "http://www.testitem.com",
description => $description,
);
print $rss->as_string();
####
...
Test
http://www.testitem.com
<b>How do I get this to be CDATA?</b>
...
####
...
Test
http://www.testitem.com
How do I get this to be CDATA]]>
...