in reply to Returning columns with SQL::Statement error

I see your bug report has been answered but a work around in this case would be

printf "Columns %s\n",join ',', map { $_->{'value'} } @{$s +tmt->column_defs()};
poj

Replies are listed 'Best First'.
Re^2: Returning columns with SQL::Statement error
by LalakisOeisagwmenos (Novice) on Jan 22, 2018 at 11:17 UTC
    YES! You are totaly correct. Thank you. I didn't thought I had to expand the return of $stmt->column_defs() to an array reference (a hash slice surrounding it with @{}) even though dumper was returning an array reference. What a stupid I was. And yes it is 'value' hash value.
    THANK YOU!!!