> > > my $sth= $dbh->prepare($query);
> > > $sth->execute();
> > >
> > > my $rawRef;
> > >
> > > while(($rawRef= $sth->fetchrow_arrayref())) {
> > > push(@choices, $rawRef->[0]);
> > > }
It probably won't help, but you could replace this whole
section with:
my $choices = $dbh->selectcol_arrayref($query);
or
my @choices = @{$dbh->selectcol_arrayref($query)};
Cheers,
Douglas Wilson
- RE: DBI use with DBD:Oracle module Jones Robert Contr 81 CS/SCK
- RE: DBI use with DBD:Oracle module Sterin, Ilya
- RE: DBI use with DBD:Oracle module Sterin, Ilya
- Re: DBI use with DBD:Oracle module Bart Lateur
- Re: DBI use with DBD:Oracle module lokmane
- RE: DBI use with DBD:Oracle module Sterin, Ilya
- RE: DBI use with DBD:Oracle module Sterin, Ilya
- Re: DBI use with DBD:Oracle module lokmane
- Re: DBI use with DBD:Oracle module lokmane
- RE: DBI use with DBD:Oracle module Wilson, Doug
- RE: DBI use with DBD:Oracle module Sterin, Ilya
- Oracle DBD stop working Anthony Scott
