Hey John,

I'll reply as I've just finished fighting through learning how to pass
scalers and hashes via param. I'd have responded sooner if you hadn't
posted in email, though.

I believe you need two pass your @records array by reference.

Pass the parameters:

[- 
 @records = qw(one two three);
 Execute ("display.html", $bgcolor1,$bgcolor2,$textcolor,\@records);
-]

Read the parameters in display.html:

[- ($bgcolor1, $bgcolor2, $textcolor, $records) = @param -]

Now you can use $records as an arrayref:

[$ foreach $record (@$records) $]
 print stuff<br>
[$ endforeach $]

Or, convert $records from an arrayref back into an array (ie, now you
have two copies in memory):

[- @records = @$records -]

Hope that helps.

Wim

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

Reply via email to