Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 21293
Status: resolved
Priority: 0/
Queue: HTML-Tree

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.22



Subject: Syntax error in HTML::Element's POD code
The push_content method has the following code associated to it: $body->push_content( ['br'], ['ul', map ['li', $_] qw(Peaches Apples Pears Mangos) ] ); I have found that a comma is required between "map ['li', $_]" and "qw(Peaches Apples Pears Mangos)" for the code not to bark about a syntax error.
Show quoted text
> I have found that a comma is required between "map ['li', $_]" and > "qw(Peaches Apples Pears > Mangos)" for the code not to bark about a syntax error.
Fixed in the POD. Will be released as part of HTML::Element 3.22 this weekend, from the Chicago Hackathon.