The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


  Template::Plugin::RoundRobin - Server data in a round robin manner.


    # Alternative backgrounds

    [% USE RoundRobin %]
    [% SET rr ="blue","red","green") %]
    [% FOR row = rows %]
    <tr style="color:[% %]">...</tr>
    [% END %]


This plugin solves this one simple problem that sometime people want alternative style on adjency objects for it's easier to read text on it.

This plugin provide works exactly the same way as Data::RoundRobin. You should create a new instance whenever you want a new set of data. It has two methods, new() and next(). new() is the constructor of this class, a list of data is required, and next() return the next element of that list.




Copyright 2006 by Kang-min Liu <>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <>