All,
I'm trying to get confirmation whether Template
toolkit supports the use of class methods.
This doesnt' seem to to work... :-
$string = 'My::Class';
[% string.some_method %]
Whereas this does:-
my $object = My::Class->new;
[% object.some_method %]
Can anybody tell me how to call methods on a class,
not on an object from within TT2...?
Regards
Marty
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates