Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Tux (Abbot)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1072661]
help
Chatterbox?
[jedikaiti]: Happy Monday
[Tanktalus]: What's so happy about it? :P

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-09-25 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (282 votes). Check out past polls.

    Notices?