I'm trying to execute some perl code inside my brackets with the eval_perl
filter.

[% $self->{$transport}->begin_privileged($params->{enable_password}); | perl
%]

I get the following error message:

file error - parse error - input text line 1: unexpected token (>)

I assume this is because of the -> arrow method calls.  Do I have to escape
those somehow?  What is the proper syntax to use inside the perl block
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to