in reply to Perl and Mysql

If your webhost permissions will let you use it, then the mysql LOAD DATA INFILE syntax might cut some corners for you (of course, you may already know this!). Once you've deleted the table (as above), I think you would need do no more than:
$dbs=$dbh->prepare("LOAD DATA INFILE 'foo.txt' INTO TABLE foo"); $dbs->execute;
Although I acknowledge that this isn't really a perl solution. But there is, as we are taught, more than one way to do it.

§ George Sherston

Replies are listed 'Best First'.
Re: Re: Perl and Mysql
by La12 (Sexton) on Aug 10, 2001 at 05:00 UTC
    I believe that the LOAD DATA INFILE also needs the *file* privlege for the user.