hehe ok, partly right.
I did; @$fields = $sth->{NAME};
Craig
"Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
3E11CE1A.16361.36E9ED7D@localhost">news:3E11CE1A.16361.36E9ED7D@localhost...
> From: "Craig Williams" <[EMAIL PROTECTED]>
> > That worked. I had tried the {NAME} option before but I thought it
> > returned a reference to the result array and so de-referenced it
> > first, probably breaking it ;-)
>
> But the $sth->{NAME} is a reference to an array.
> How did you dereference it?
>
> Jenda
> ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
> When it comes to wine, women and song, wizards are allowed
> to get drunk and croon as much as they like.
> -- Terry Pratchett in Sourcery
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]