Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 rifling through the Monastery: (11)
As of 2015-10-07 17:28 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (194 votes), past polls