Name
NAME (array-ref, read-only)
Synopsis
Returns a reference to an array of
field names for each column. The names may contain spaces but should
not be truncated or have any trailing space. Note that the names have
the letter case (upper, lower, or mixed) as returned by the driver
being used. Portable applications should use
NAME_lc
or NAME_uc
. For
example:
print "First column name: $sth->{NAME}->[0]\n";
Get Programming the Perl DBI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.