Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-11-25 00:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls