Hey,
has anyone doing something like this -
<tmpl_obj object="Object" var="id">
<tmpl_obj object="Object" var="name">
and in the .pl -
my $Object = Object->new;
$Object->{id} = 23;
$Object->{name} = "this is an object";
my $template = HTML::Template->new(filename => "ErrorPage.tmpl",
associate => $cgi,
die_on_bad_params => 0);
$template->param(object => $Object);
sure would make some of my stuff cleaner if i could pass in a single
object instead of
arguments for each parameter/attribute.
--
Mark Mertel
[EMAIL PROTECTED]
Phone: (360) 344-3113 FAX: (360) 344-3553
Cell: (206) 409-2018
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users