>>>>> "Juan" == Juan Ladetto <[email protected]> writes:

Juan> sub method {
Juan>         my ($self,%args) = @_;

That's expecting a list, like:

  $foo->method(%bar)

But in TT, hashes are all hashrefs.  You'll have to change
your method so that:

  $foo->method(\%bar)

will work.  Or make a second method that calls the first one
to expand out first.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to