chatiman wrote:
> Is it possible to access the program variables from perl template code([%
> PERL %] blocks ).

Not unless you explicitly set them through the stash.  

foo:
  [% PERL %]
  $stash->set( bar => 10 );
  [% END %]

Even then, you'll need to PROCESS the template rather than include it:

  [% PROCESS foo %]
  [% bar %]         # 10

HTH
A


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to