Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Low-threshold function in Text::CSV_XS

by Tux (Monsignor)
on Jan 24, 2014 at 21:13 UTC ( #1072000=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: Low-threshold function in Text::CSV_XS
Download Code
Replies are listed 'Best First'.
Re^3: Low-threshold function in Text::CSV_XS
by MidLifeXis (Monsignor) on Jan 24, 2014 at 21:20 UTC

    Absolutely correct. E_READ_ERR. My post updated.

    --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1072000]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2015-08-01 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls