Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect ("dbi:CSV:", undef, undef, {
        f_ext                => ".csv/r",
        csv_sep_char         => "\t",
    ...
        }) or die $DBI::errstr;
    # due to <c>f_ext</c> there is no need to specify the filename!
    my $sth = $dbh->prepare ("select * from file");
    
  2. or download this
           allow_whitespace
               When this option is set to true, whitespace (TAB's and SPAC
    +E's)
    ...
               either TAB or SPACE is one of the three major characters
               "sep_char", "quote_char", or "escape_char" it will not be
               considered whitespace.