You're welcome! *tips hat*
What do you mean by "not working for me"? As far as I can tell, ->column_names() is not for printing column names to a CSV file; quoting Text::CSV's documentation:
column_names
Set the keys that will be used in the getline_hr () calls. If no keys (column names) are passed, it'll return the current setting.
So I'd say ->print() is the way to go, yes.
In reply to Re^3: get keys from array of hashes
by AppleFritter
in thread get keys from array of hashes
by PerlSufi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |