Sometime Today, Mark Mertel assembled some asciibets to say:

> <tmpl_obj object="Object" var="id">
> <tmpl_obj object="Object" var="name">

<tmpl_var name="Object.id">
<tmpl_var name="Object.name">

> and in the .pl -
>
> my $Object = Object->new;
>
> $Object->{id} = 23;
> $Object->{name} = "this is an object";

for (@keys %$Object) {
        $template->param("Object.$_" => $Object->{$_});
}

-- 
To communicate is the beginning of understanding.
                -- AT&T



-------------------------------------------------------
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

Reply via email to