On Monday 18 Apr 2005 16:20, Ariel M. Jolodovsky wrote:
> El Lun 18 Abr 2005 11:58 AM, Bob Hutchinson escribi�:
> > You might like to try the attached file, I haven't used it for awhile,
> > but I'm sure it will work, you'll have to edit the settings at the top.
>
> Thank you very much, I've changed the parameters required for the script to
> work, but when I execute it, I get:
> # perl data2sql.pl
> ./tmp/DONELIST.txt NOT found
>
> So I:
> # mkdir tmp
> # touch tmp/DONELIST.txt
> # perl data2sql.pl
> #
>
> There's nothing else in tmp and DONELIST.txt is empty
>
> I don't know if that's the way I should have done things :S
> (I didn't get any error when executed the script the second time)

Did the data go in OK?

>
> Thanks in advance

I admit the script is a bit rough, not enough checking, I wanted something 
that could be run repeatedly, leave out unwanted lines and only enter data 
into the database if it wasn't already there. The job I had at the time 
required me to pull data from a badly configured Named/Bind server and try to 
shovel it into mysql where I could check things more easily. AXFR is not very 
reliable and tended to croak. 8-|

HTH
-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------

Reply via email to