(TT2.04, perl 5.005, RH linux)
If I have a template:
[% BLOCK atemplate %]
[% IF mystuff %]
[% FOREACH stuff = mystuff %]
[% content %]
[% END %]
[% END %]
[% END %]
and I use it from
[% ahash = { name => 'bla' } %]
[% WRAPPER atemplate
mystuff = [ ahash ]
%]
[% Dumper.dump($stuff) %]
[% $stuff.name %]
[% END %]
how come I can't access stuff (and mystuff) from within the content?
(or can I but I've done it wrong...)
Thanks
Robert
--
Robert McArthur CRC for Enterprise Distributed System Technology
BSc(Hons) Ph. +61 7 3365 4310 Brisbane, Australia
MInfTech Fax +61 7 3365 4311
Grad.Cert.Ed. [EMAIL PROTECTED]