in reply to Re: Re: Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
in thread Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
Assuming you have already prepared and executed statement handle $sth, $sth->{NAME} will return an array ref of the column names, so
my @columns = @{$sth->{NAME}};
gives you an array of your column names.
|
|---|