Click here to get back home

ANNOUNCE: Text::CSV_XS 0.42

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ANNOUNCE: Text::CSV_XS 0.42 H.Merijn Brand 04-16-2008
Posted by H.Merijn Brand on April 16, 2008, 9:49 am
Please log in for more thread options
file: $CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-0.42.tgz
size: 86136 bytes
md5: 1cf4491f48965793f1e31fc74159f20f

We can do MAGIC now!

Dumping the content of a database ($dbh) table ($tbl) to CSV:

my $csv = Text::CSV_XS->new ({ binary => 1, eol => $/ });
open my $fh, ">", "$tbl.csv" or die "$tbl.csv: $!";
my $sth = $dbh->prepare ("select * from $tbl");
$sth->execute;
$csv->print ($fh, $sth->);
while (my $row = $sth->fetch) {
$csv->print ($fh, $row);
}
close $fh;


* Generate META.yml myself. I won't use Build.PL
* Array-refs now accept scalars with magic:
$csv->print (*STDOUT, $sth->);
* More/better examples
* Added t/76_magic.t


* error_diag () subclassable
* typo in bind_columns () docs
* examples/csv2xls now uses getline ()
* better test for getline in t/75_hashref.t (makamata)
* document return value of getline () with bind_columns ()
* add perl version prereq to META.yml



Similar ThreadsPosted
ANNOUNCE: Text::Iconv 1.4 July 18, 2004, 1:41 am
ANNOUNCE: Text-Bidi-0.01 August 28, 2006, 2:08 pm
[ANNOUNCE] Text-CSV_XS 0.25 May 7, 2007, 11:22 am
ANNOUNCE Text::CSV_XS 0.26 May 15, 2007, 7:28 am
ANNOUNCE: Text::CSV_XS 0.26 May 15, 2007, 7:30 am
ANNOUNCE: Text-CSV_XS 0.28 June 4, 2007, 6:56 am
ANNOUNCE: Text-CSV_XS 0.28 June 4, 2007, 6:54 am
ANNOUNCE: Text::CSV_XS 0.29 June 8, 2007, 6:29 am
ANNOUNCE: Text-CSV_XS 0.29 June 8, 2007, 6:36 am
Announce: Text::CSV_XS 0.30 June 21, 2007, 7:24 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap