develooper Front page | perl.beginners | Postings from December 2002

Re: Really stuck: DBI, mysqlPP.

Thread Previous
From:
Craig Williams
Date:
December 31, 2002 10:07
Subject:
Re: Really stuck: DBI, mysqlPP.
Message ID:
20021231164047.7041.qmail@onion.perl.org
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About