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 30, 2014 at 12:20 UTC ( #1072661=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

I understand the request, but I see this syntax as too conflicting with the existing syntax.

IF a function like that is to return an object of any kind, it would be a Text::CSV_XS object, more like this:

my $csv = openCsv (file => "file.csv", headers => "auto"); while (my $row = $csv->getline) { # note the missing $io say $row->{Foo}; }

This fits nicely in the rest of the code and documentation and I will consider something like this (no promises).


Enjoy, Have FUN! H.Merijn


Comment on Re^2: Low-threshold function in Text::CSV_XS
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2014-09-18 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls