Help for this page

Select Code to Download


  1. or download this
    print "Type the name of the CSV file:\n";
    my $CSVfile =<STDIN>;
    ...
    
    my    $dbh = DBI->connect(qq{DBI:CSV:csv_sep_char=\\\t});
    $dbh->{'csv_tables'}->{'tabdelimited'} = { 'file' => '$CSVfile'};
    
  2. or download this
    Execution ERROR:  Cannot open .\$CSVfile: No such file or directory at
    + C:/Perl/site/lib/DBD/File.pm line 496, <STDIN> line 1.