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
Download (untitled) / with headers
text/plain 331b
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.
Download (untitled) / with headers
text/plain 264b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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