Re: [Templates] Solve overloaded object problem w/ namespace handler?

[prev] [thread] [next] [Date index for 2004/09/03]

From: Tom Insam
Subject: Re: [Templates] Solve overloaded object problem w/ namespace handler?
Date: 19:07 on 03 Sep 2004
On Sep 3, 2004, at 19:25, Buddy Burden wrote:
>
> I also pondered submitting a patch for (I believe it was) 
> Template::Stash--looks pretty basic to insert--if anyone thinks 
> there's wider value in TT2 being able to handle overloaded objects 
> like this.

I don't at the moment, but I can very much see myself having a related 
problem - I have a blessed hashref that overloads the list 
dereferencing operator. This is a slightly harder problem, of course - 
it's easy to say 'object.fred' should be a hash dereference, harder to 
say 'object.4' should be a list dereference. Elegant solution, anyone?

Tom


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] Solve overloaded object problem w/ namespace handler?
Tom Insam 19:07 on 03 Sep 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52