in reply to Perl::DBI - return column header
After you execute the statement, the statement handle should contain a NAME attribute. This is a reference to an array containing the names of the columns returned. $sth->{NAME}[$i] will give you the name of column $i. See perldoc DBI.
| 90% of every Perl application is already written. ⇒ |
| dragonchild |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl::DBI - return column header
by Anonymous Monk on Aug 12, 2013 at 11:43 UTC |