Kevin wrote:
Hello,
I am having a bit of a problem working with nested data structures and
after
spending some time with the perl man pages, I am turning to the list for
help.
I am reading a DBI record into a hash reference - my $row =
$sth-fetchrow_hashref() - I would like to
Kevin wrote:
Thanks for the reply. I have included the result set and some more of the
code. Your help is appreciated.
my $dbh = DBI-connect(DBI:XBase:C:/Perl/progs/customer) or die
$DBI::errstr;
my $sth = $dbh-prepare(select ID, First_Name from customer) or die
$dbh-errstr();
Thanks for the reply. I have included the result set and some more of
the
code. Your help is appreciated.
my $dbh = DBI-connect(DBI:XBase:C:/Perl/progs/customer) or die
$DBI::errstr;
my $sth = $dbh-prepare(select ID, First_Name from customer) or die
$dbh-errstr();
$sth-execute()
[EMAIL PROTECTED] wrote:
$Bill got your $ vs \% problem, but just FYI. In general it is not safe
to store a list of references from DBI methods, many (soon to be all) of
them recycle the ref, so you could end up with an array or hash of
identical refs.
So store a copy of the data referenced