in reply to
Re: Low-threshold function in Text::CSV_XS
in thread Low-threshold function in Text::CSV_XS
No, it returns an arrayref: a reference to a list of either anonymous hashes OR a list of anonymous arrays.
And - I agree with tye and BrowserUK - if it not exported by default, the simple name csv would do quite well.
As it is a list, duplicate keys are not a problem, unless you want a list of hashrefs and the fields contain duplicate names. In that case, the function provides an attribute to pass the field names yourself.
Enjoy, Have FUN! H.Merijn