[htmltmpl] loop context variables - misleading documentation
Brought to you by:
samtregar
From: Paul S. <wre...@ya...> - 2005-06-02 03:29:35
|
Hi 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? Regardless, the documentation is misleading or the code needs to respect these vars as UPPER case all the time... I'm using $HTML::Template::VERSION = '2.7'; Anybody else notice this? What can I do to fix this? Paul |