Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: The future of Text::CSV_XS - TODO

by Tux (Monsignor)
on May 04, 2010 at 12:11 UTC ( #838293=note: print w/ replies, xml ) Need Help??


in reply to The future of Text::CSV_XS - TODO

2010-05-03 0.73 - H.Merijn Brand

  • Improve date conversion in examples/csv2xls
    new option -D allows column selection for date conversions
  • Tested under perl-5.12.0 (and 21 other versions of perl)
  • Added a note about EBCDIC data files
  • Test suite is now safe for parallel test (prove --shuffle -j6)

Together with the 1.611 release of DBI, it made a new release possible for DBD::CSV

2010-05-03 DBD::CSV-0.29

Some highlights from over the past few releases:

  • Support for f_encoding and f_lock
  • Documentation updates
  • Adjustments for windows
  • Mark all non-\w chars illegal in field and table names
  • Fix field types after execute
  • Fix for NULL joins

Which leads you to:

$dbh = DBI->connect ("dbi:CSV:", undef, undef, { f_schema => undef, f_dir => "data", f_ext => ".csv/r", f_lock => 2, f_encoding => "utf8", csv_null => 1, RaiseError => 1, PrintError => 1, FetchHashKeyName => "NAME_lc", }) or die $DBI::errstr;

Enjoy, Have FUN! H.Merijn


Comment on Re: The future of Text::CSV_XS - TODO
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://838293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-12-19 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (83 votes), past polls