Graeme McLaren wrote:
> Hi all, I'm tryin to do something simple. The output I want needs to be in a
> table, for example:
>
> <table>
> <tr>
> <td>Euros</td><td>dollars</td>
> </tr>
> <tr> <td>euro value</td><td>dollar value</td>
>
> </tr>
> </table>
>
>
> In my code I have:
>
> $html->param(LOOP => [ {
> sterling => $sterlingaref, },
> ], );
>
> $sterlingaref has the following data structure:
>
> $VAR1 = [ { 'rate' => '1.5', 'name' =>
> 'Sterling -> Euros', 'id' => '2' }, {
> 'rate' => '2.05', 'name' => 'Sterling -> Dollars', 'id'
> => '4' }, { 'rate' => '6.47', 'name'
> => 'Sterling -> Malaysian Ringgit', 'id' => '14' }
> ];
>
>
>
> Any ideas how to display this properly?
I'm not sure what you mean Graeme. You seem to want to display a table of
equivalent values in euros and dollars but all you have shown us is a structure
of exchange rates. What are the actual amounts that should appear in the table?
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/