On Sat, Dec 22, 2001 at 02:10:06AM -0600, Alex Porras wrote:
>$template->param( LOOP1 => [$eh, $eh, $eh, $eh, $eh ] );
>Is this a common way of doing it, or is there a more efficient way?  I 
>feel silly creating the empty hash, but I guess that's necessary...

Well, I'd write it as

$tmpl->param(LOOP1 => [ ({}) x 5 ]);

but the principle's the same.

Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to