Ol� John,
Reply:
JS> I'm having trouble passing arrays to Execute.
JS> Passing parameters to my page component:
JS> Execute ({inputfile => $CSI_common."displayresponder.html", param =>
JS> [$bgcolor1,$bgcolor2,$textcolor,@records]});
JS> Reading the parameters in my page component:
JS> [-
JS> $bgcolor1 = $param[0];
JS> $bgcolor2 = $param[1];
JS> $textcolor = $param[2];
JS> @records = $param[3];
JS> -]
JS> The first 3 scalars work fine but embperl only resolves the first element of
JS> my @records array(@records has 16 elements).
When you say $param[3] you are putting in @records just the 4th
element of @param, try this:
($bgcolor1, $bgcolor2, $textcolor, @records) = @param;
This should work as you expect.
Bye,
Luiz Fernando B. Ribeiro
----------------------------
At Home - Design e Internet
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]