Re: table rows using alternating style info?
Bruno Postle <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
In addition to getting the odd or even status of the loop item..
petal:condition="true: repeat/even"
..you can do this sort of thing:
petal:condition="true: repeat/start"
petal:condition="true: repeat/inner"
petal:condition="true: repeat/end"
> This example should be added to Petal POD -- there isn't an example
> like this documented anywhere.
These methods are documented, but only when used with the old
deprecated syntax:
http://search.cpan.org/dist/Petal/lib/Petal/Deprecated.pm#loops
Until the documentation for normal Petal syntax is fixed, you need
to refer to that.
--
Bruno