in reply to Re: Parsing ldap attributes into a csvin thread Parsing ldap attributes into a csv
Why complicate the matter more than needed? :)
csv (in => \@records, headers => \@col_names, out => "/tmp/foo.csv"); [download]