>>>>> "Cees" == Cees Hek <[EMAIL PROTECTED]> writes:
Cees> -----------
Cees> Any key in a hash which starts with a '_' or '.' character will be
Cees> considered private and cannot be evaluated or updated from within a
Cees> template. The undefined value will be returned for any such variable
Cees> accessed which the Template Toolkit will silently ignore (unless the
Cees> DEBUG option is enabled).
Cees> -----------
Cees> But I couldn't find anything mentioning that methods are treated the same
way.
It's really trivial to work around. To call Object's Method with Args:
Object.can(Method).(Object, Args);
since "can" returns a coderef.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates