I come across situations at times where I want to do a TMPL_LOOP to save 
some repetition in html, but don't need to set any TMPL_VARS (I know 
that sounds silly but I do have at least one useful scenario for this).  
Here's how I'm handling it currently:

my $eh = {};

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

TIA,

--Alex




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

Reply via email to