Is there a way to execute a "LOAD DATA INFILE" MySQL statment using perl? I am trying to more or less duplicate the functionality of Oracle's sqlldr, which lets me load data from a text file into a table from the commandline. MySQL requires that one loads text data from a mysql> prompt.
Is there any time saving to using a "LOAD DATA INFILE" vs just parsing the file in perl and executing a series of INSERT statements. For some reason I thing that LOAD DATA INFILE is faster, but I am not sure.