in reply to fetchrow_array returns an empty array

If you fetch an array , populate an array.

while (my @row = $sth->fetchrow_array) { print "@row\n"; }

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: fetchrow_array returns an empty array
by eimaan (Initiate) on Jun 28, 2022 at 22:55 UTC

    Hey thank for the reply, when i do it like that it outputs as a bunch of addresses "ARRAY(0x...)". I tried to deref each entry and they all still come back as empty

      Could you share the schema of the F_COMPANY table? Also, what database engine do you use?

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]