hehe ok, partly right. I did; @$fields = $sth->{NAME}; Craig "Jenda Krynicky" <Jenda@Krynicky.cz> wrote in message news:3E11CE1A.16361.36E9ED7D@localhost... > From: "Craig Williams" <news@ip80.com> > > 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 > ===== Jenda@Krynicky.cz === 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 >Thread Previous