Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 cooling their heels in the Monastery: (6)
As of 2014-08-30 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls