Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

Re: Template::Toolkit and Contextual::Return

by perrin (Chancellor)
on Sep 22, 2006 at 14:55 UTC ( [id://574427]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Template::Toolkit and Contextual::Return

The TT stash code tries to examine what it's being used on to see if it should be called as a method or as a hash. It works iteratively, so it will call $self->my_method, and then call ->get_age on that. I don't use Contextual::Return so I don't know what it's looking for, but it sounds like actual method chaining may be needed in order to make it work, and TT will not do that when evaluating dot notation.
  • Comment on Re: Template::Toolkit and Contextual::Return

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://574427]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.