in reply to Re^2: get keys from array of hashes
in thread get keys from array of hashes

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.

Replies are listed 'Best First'.
Re^4: get keys from array of hashes
by PerlSufi (Friar) on Aug 01, 2014 at 21:46 UTC
    Gotcha, Thanks a bunch :)