NAME
mysqlslurp - slurp data in from <STDIN>
SYNOPSIS
mysqlslurp
-D | --database Database
--table Table
[--tmp | --tmpdir | --temp ] Temporary Directory
[ --usage ] Prints this synopsis
[ --man ] Prints full man page
[options passed to mysqlimport]
( see mysqlimport --help for a list of options )
Example:
cat file | mysqlimport --database=my_db --table=my_table
DESCRIPTION
mysqlslurp reads from <STDIN> and writes to a database table using mysqlimport. Parameters --database and --table are required. Specifying a --tmp directory is optional. All other options are passed to mysqlimport unchanged.
SEE ALSO
mysqlimport at http://mysql.com, currently http://dev.mysql.com/doc/refman/5.1/en/mysqlimport.html
AUTHOR
Christopher Brown, <ctbrown@cpan.org<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Open Data
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.