Here is an example that works for me, in the form of a patch(yippy.diff), apply with patch -p0 -i yippy.diff
diff -Npurd dbidbdcsvfext/mycsvdb/cats.csv dbidbdcsvfext/mycsvdb/cats. +csv --- dbidbdcsvfext/mycsvdb/cats.csv 1969-12-31 16:00:00.000000000 -0 +800 +++ dbidbdcsvfext/mycsvdb/cats.csv 2016-05-27 15:54:59.156250000 -0 +700 @@ -0,0 +1,3 @@ +meow,meow,meow +meow,meow,meow +meow,meow,meow diff -Npurd dbidbdcsvfext/mycsvdb/dogs.csv dbidbdcsvfext/mycsvdb/dogs. +csv --- dbidbdcsvfext/mycsvdb/dogs.csv 1969-12-31 16:00:00.000000000 -0 +800 +++ dbidbdcsvfext/mycsvdb/dogs.csv 2016-05-27 15:55:09.328125000 -0 +700 @@ -0,0 +1,3 @@ +woof,woof,woof +woof,woof,woof +woof,woof,woof diff -Npurd dbidbdcsvfext/yip.pl dbidbdcsvfext/yip.pl --- dbidbdcsvfext/yip.pl 1969-12-31 16:00:00.000000000 -0800 +++ dbidbdcsvfext/yip.pl 2016-05-27 16:06:18.500000000 -0700 @@ -0,0 +1,20 @@ +#!/usr/bin/perl -- +use strict; +use warnings; +use Path::Tiny qw/ path /; +use Data::Dump qw/ dd /; +use DBI; +use DBD::CSV; + +my $dbh = DBI->connect( + "dbi:CSV:",undef,undef, + { + RaiseError => 1, + f_dir => path('mycsvdb')->realpath, + f_ext => ".csv/r", + }); + +#~ dd( $dbh->selectall_hashref( 'select * from cats limit 1' ) ); +#~ dd( $dbh->selectall_hashref( 'select * from dogs limit 1' ) ); +dd( $dbh->selectall_arrayref( 'select * from cats limit 1' ) ); +dd( $dbh->selectall_arrayref( 'select * from dogs limit 1' ) );

In reply to Re: DBD::CSV::st execute failed: by Anonymous Monk
in thread DBD::CSV::st execute failed: by Sandy_Bio_Perl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.