Subject: | Small doc issue with RSS 2.0 add_item() example |
The documentation in question follows:
$rss->add_item(title => "GTKeyboard 0.85",
# creates a guid field with permaLink=true
permaLink => "http://freshmeat.net/news/1999/06/21/930003829.html",
# alternately creates a guid field with permaLink=false
# guid => "gtkeyboard-0.85
enclosure => { url=>$url, type=>"application/x-bittorrent" },
description => 'blah blah'
);
If permaLink were to be commented and guid uncommented the code would not be syntactically
correct because its value needs an end quote and a comma after that, like so:
# guid => "gtkeyboard-0.85",