Could someone explain to me why this works...

[-
  foreach $row (@$result) {
    print OUT "$row->[1]";
  }
-]

.. and this doesn't?

[$ foreach $row @$result $]
    [+ $row->[1] +]
[$ endsub $]


@$result is the result of a database query using DBI with
selectall_arraryref()


/Christian


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

Reply via email to