how annoying. This is the example in the POD:
&hl(sub { print shift },
[table => {border => 2, width => '80%'},
[tr =>
[td => {nowrap => &hl_bool(1)}, 'This & that'],
[td => {nowrap => &hl_bool(0)}, '<b>This is not bold</b>'],
[td => [b => 'But this is']],
[td => &hl_noquote('<b>And so is this</b>')]]]);
and it produces:
<table border="2" width="80%">
<tr>
<td nowrap>This & that</td>
<td><b>This is not bold</b></td>
<td><b>But this is</b></td>
<td><b>And so is this</b></td>
</tr>
</table>
I can't figure out what's right with their example and what's wrong with my usage.. and it doens't look like there's another module for generating HTML structurally ... sigh