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.