Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perl5-dbi/dbd-csv
DBD::CSV - DBI driver for CSV files
https://github.com/perl5-dbi/dbd-csv
csv database database-access database-connector dbd dbi perl perl-database-interface
Last synced: 2 months ago
JSON representation
DBD::CSV - DBI driver for CSV files
- Host: GitHub
- URL: https://github.com/perl5-dbi/dbd-csv
- Owner: perl5-dbi
- Created: 2013-05-22T14:16:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T10:59:51.000Z (6 months ago)
- Last Synced: 2024-09-30T12:01:19.067Z (3 months ago)
- Topics: csv, database, database-access, database-connector, dbd, dbi, perl, perl-database-interface
- Language: Perl
- Homepage:
- Size: 886 KB
- Stars: 11
- Watchers: 10
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
Module
DBD::CSV - DBI driver for CSV filesDescription
The DBD::CSV module is yet another driver for the DBI (Database
independent interface for Perl). This one is based on the SQL
"engine" SQL::Statement and the abstract DBI driver DBD::File
and implements access to so-called CSV files (Comma separated
values).Copying
Copyright (C) 2009-2024 by H.Merijn Brand
Copyright (C) 2004-2009 by Jeff Zucker
Copyright (C) 1998-2004 by Jochen Wiedmann
You may distribute this module under the terms of either the GNU
General Public License or the Artistic License, as specified in
the Perl README file.Recent changes can be (re)viewed in the public GIT repository at
https://github.com/perl5-dbi/DBD-CSV.git
Feel free to clone your own copy:$ git clone https://github.com/perl5-dbi/DBD-CSV.git DBD-CSV
or get it as a tgz:
$ wget --output-document=DBD-CSV-git.tgz \
'https://github.com/perl5-dbi/DBD-CSV/archive/master.tar.gzwhich will unpack to DBD-CSV-master
Prerequisites:
DBI - the DBI (Database independent interface for Perl).SQL::Statement - a simple SQL engine.
Text::CSV_XS - this module is used for writing rows to or reading
rows from CSV files.Build/Installation:
Use CPAN:
cpan DBD::CSVOr standard build/installation:
gzip -cd DBD-CSV-0.43.tar.gz | tar xf -
cd DBD-CSV-0.43
perl Makefile.PL
make test
make install(this is for Unix users, Windows users would prefer PowerArchiver,
WinZip or something similar).The test suite contains extensive tests for all features provided
by DBD::CSV. Some of them include the use of what is set to be the
default temporary directory on the system. Even though the tests
do not use the folder to read or modify data, using the folder will
imply the scanning of that folder to see if files would qualify for
use in DBD::CSV. When the folder contains many files, the scanning
will seriously slow down the testing duration. The configure phase
therefor asks the user if using the folder is allowed. The default
answer is yes unless $AUTOMATED_TESTING is set.
As File::Spec->tmpdir () honors the environment, you can enable
these tests using another folder by setting $TMPDIR or whatever
controls tmpdir () or your OS.Author:
This module is currently maintained byH.Merijn Brand < h.m.brand at xs4all.nl >
The original author is Jochen Wiedmann.
Previous maintainer was Jeff Zucker