Re: text files

From: Bill Karwin (bill_news_at_NOSPAM-karwin.com)
Date: 04/17/04


Date: Sat, 17 Apr 2004 14:29:08 -0700

E wrote:
> Im doing perl for an online store and wondering if someone knew a way (a
> script) to get my text files in to my mysql database?

You should first look at the mysqlimport command, which comes with
MySQL. That command might do what you want, or else it might be easy to
use Perl to format your text data so that it's easy to use mysqlimport
on it.

Regards,
Bill



Relevant Pages

  • Re: how do modules work?
    ... I completely understand the way the Perl's namespaces work. ... I created a function that connects to a MySQL database and then returns a DB ... In the script that receives the DB handle, I removed the 'use DBI;' line. ... > everything else in Perl, you can access it if you go out of your way. ...
    (perl.beginners)
  • Re: calling a perl script from JavaScript
    ... Thanks Mr. Lalli, but I believe this is a question pertaining to Perl, ... which I'm working is a CGI script written in perl. ... initially received from a call to a mySQL database and held in a ... The HTML string is then dynamically manipulated using Perl ...
    (comp.lang.perl.misc)
  • text help
    ... Im doing perl for an online store and wondering if someone knew a way (a ... script) to get my text files in to my mysql database? ...
    (comp.lang.perl)
  • text files
    ... Im doing perl for an online store and wondering if someone knew a way (a ... script) to get my text files in to my mysql database? ...
    (comp.lang.perl.modules)
  • text files
    ... Im doing perl for an online store and wondering if someone knew a way (a ... script) to get my text files in to my mysql database? ...
    (perl.dbi.users)