> OK, HTML::Template has you create a hash whose values are used by a
> template. Construction is like this:
> $template->param(
>                     HOME => $ENV{HOME},
>                     PATH => $ENV{PATH}"
>               );

> Dumb question, but how to you ADD to this hash afterwards. I have tried
> various ways without success. What is the syntax? I know how to add to
> hashes in general, as in $hash{'price'} = "3.5";

You could always try creating a hash / array and passing that instead..

Better still you could use Template Toolkit and Objects instead ;)

The nice thing about doing that is that TT allows you to do [%
object.method(param,param) %] in your template, and you can update the
object while processing the template - very nice.

regards,

A.



_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to