Buddy Burden wrote:
> Now, in the badger book, in the section on Template::Iterator, I can see 
> how to create a class to do what I want.  Seems pretty basic.  What I'm 
> wondering is is there any (reasonably simple) way to install this 
> functionality so that I can get it for every loop?  

Yep, set the $Template::Config::ITERATOR package variable to contain the 
name of your iterator module.

e.g.

  use Template::Config;
  $Template::Config::ITERATOR = 'My::New::Iterator::Class';

HTH
A




_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to