Re: [htmltmpl] RFC PATCH for Associating objects

2005-02-11 Thread Sam Tregar
On Fri, 11 Feb 2005, Scottsweep wrote: > I'm working from the standpoint of not making associate any more > complex, actually less so from the end user standpoint. >From the standpoint of the maintainer it definitely looks more complex. > The thought of instantiating another object to do what ca

Re: [htmltmpl] RFC PATCH for Associating objects

2005-02-11 Thread Scottsweep
Sam, I'm working from the standpoint of not making associate any more complex, actually less so from the end user standpoint. If you look at the code all I've done is added three checks for ($associated_object->can('param') && $option{associate_by_methods}), their associated blocks of code (whic

Re: [htmltmpl] RFC PATCH for Associating objects

2005-02-11 Thread Sam Tregar
On Fri, 11 Feb 2005, Scottsweep wrote: >I want to propose the following PATCH to > HTML::Template. This would allow objects to be > associated without the need to define a param method > (all public methods can be TMPL_VARs). This seems like a reasonable thing to want, but I think it would b

[htmltmpl] RFC PATCH for Associating objects

2005-02-11 Thread Scottsweep
Hello all, I want to propose the following PATCH to HTML::Template. This would allow objects to be associated without the need to define a param method (all public methods can be TMPL_VARs). It adds two options (see section 2 below) to maintain backwards compatability with param use. As I unders