NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Tie::Cycle (Score:2)
--
xoa
Reply to This
Re:Tie::Cycle (Score:2)
--
xoa
Re:Tie::Cycle (Score:2)
That isn't actually based on Tie::Cycle, it's a complete new reimplementation of the functionality.
Also it's not a properly written TT plugin. It doesn't inherit from Template::Plugin so you can't use it from a template like this:
If you replace Cycle.pm with the version that you'll find at http://dave.org.uk/template/ then it will work as expected.
I'll submit the patch to the author tonight.
Re:Tie::Cycle (Score:2)
Thanks for the patch. I hope Adam can crank it out soon. I wasn't too keen on having to pass in an iterator in the process() call.
--
xoa