NAME

DBIx::CSVDumper - dumping database (DBI) data into a CSV.

SYNOPSIS

use DBIx::CSVDumper;
my $dbh = DBI->connect(...);
my $dumper = DBIx::CSVDumper->new(
  csv_args  => {
    binary          => 1,
    always_quote    => 1,
    eol             => "\r\n",
  },
  encoding    => 'utf-8',
);


my $sth = $dbh->prepare('SELECT * FROM item');
$sth->execute;
$dumper->dump(
  sth     => $sth,
  file    => 'tmp/hoge.csv',
);

DESCRIPTION

DBIx::CSVDumper is a module for dumping database (DBI) data into a CSV.

CONSTRUCTOR

METHOD

AUTHOR

Masayuki Matsuki y.songmu@gmail.com

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.