Re: loop context variables - misleading documentation

Sam Tregar <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On Wed, 1 Jun 2005, Paul Simon wrote:

> The HTML::Template doc says to use __FIRST__,
> __LAST__, __INNER__, __ODD__ as the loop context vars.
> They did not work for me until I used the
> (undocumented) lower case  __first__, __last__ etc.
> I'm guessing because I have case_sensitive set to true
> that this may have affected things?

Yup, there should be something in the docs to explain what case
they'll be when case_sensitive is in effect.

> What can I do to fix this?

Patches welcome.

-sam


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.