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

Report information
The Basics
Id:
21293
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.