http://www.perlmonks.org?node_id=461022


in reply to fetchrow_array

there will only ever be one value in the array when you select one value from the database, i think you are confusing rows with columns, try:
my @ary = @{$dbh->selectcol_arrayref("select status from sh_protokoll +where asek_jn = 'j'")};



This is not a Signature...