Skip Menu |
 

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

Report information
The Basics
Id: 12445
Status: resolved
Priority: 0/
Queue: HTML-Template

People
Owner: Nobody in particular
Requestors: tmetro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.7
Fixed in: (no value)



Subject: POD error
Download (untitled) / with headers
text/plain 399b
In the POD: http://search.cpan.org/~samtregar/HTML-Template-2.7/Template.pm#new() within the first example in the "loop_context_vars" bullet, under the "Miscellaneous Options" heading, of the new() method, you'll see this code: <TMPL_UNLESS NAME="__odd__"> This outputs every other pass, on the even passes. </TMPL_IF> The last tag should be </TMPL_UNLESS> instead of </TMPL_IF>.
Download (untitled) / with headers
text/plain 632b
[guest - Thu Apr 28 03:04:21 2005]: Show quoted text
> In the POD: > http://search.cpan.org/~samtregar/HTML-Template-2.7/Template.pm#new() > > within the first example in the "loop_context_vars" bullet, under the > "Miscellaneous Options" heading, of the new() method, you'll see this > code: > > <TMPL_UNLESS NAME="__odd__"> > This outputs every other pass, on the even passes. > </TMPL_IF> > > The last tag should be </TMPL_UNLESS> instead of </TMPL_IF>.
In addition, in the last example: <TMPL_IF NAME="__last__"> This only outputs on the last pass. <TMPL_IF> The closing tag is missing the '/' char.
From: tmetro [...] cpan.org
Download (untitled) / with headers
text/plain 249b
[guest - Sun Dec 11 03:35:27 2005]: Show quoted text
> <TMPL_IF> > The closing tag is missing the '/' char.
I've added both this, and the error I spotted, as annotations to the pod: http://www.annocpan.org/~SAMTREGAR/HTML-Template-2.7/Template.pm#211 -Tom
Fixed for 2.8.


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.