GithubHelp home page GithubHelp logo

Comments (4)

Tux avatar Tux commented on August 15, 2024 1

Sorry for the delay. PTS happened and then I was Ill.
I think I just pushed the fix.
Thanks for reporting!

Your code used Text::CSV instead of Text::CSV_XS. I resolved that as

use 5.026002;
use warnings;
use Text::CSV_XS;

my $data = <<"EOC";
a,b,c
d,e
f,g,h
EOC

my $csv = Text::CSV_XS->new ({ strict => 1, auto_diag => 2 });

my ($foo, $bar, $baz);
$csv->bind_columns (\$foo, \$bar, \$baz);

open my $fh, "<", \$data;
while (my $status = $csv->getline ($fh)) {
    say "Line parsed: foo = $foo, bar = $bar, baz = $baz";
    }

$csv->error_input () and
    warn "Error parsing CSV: ", $csv->error_diag (), "\n";

from text-csv_xs.

Tux avatar Tux commented on August 15, 2024

I have to wait for my new laptop to make a release

from text-csv_xs.

Tux avatar Tux commented on August 15, 2024

Someone found yet another issue with strict, so I want to resolve that before a new release. Please be a bit more patient

from text-csv_xs.

Tux avatar Tux commented on August 15, 2024

1.55 is out

from text-csv_xs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.