in reply to Advantage of using DBI

I didn't get what you mean with "MySQL client", I mean, the only MySQL client I can think of is the command line program to access the mysql database which is kind impossible complicated to compare with perl+DBI..

also AFAIK, DBI executes whatever you tell him to, there's no "prevents SQL injection"

Replies are listed 'Best First'.
Re^2: Advantage of using DBI
by moritz (Cardinal) on Jul 02, 2009 at 19:32 UTC
    also AFAIK, DBI executes whatever you tell him to, there's no "prevents SQL injection"

    That's right, but only half the truth. DBI does offer a very simple interface to bind parameters, making it very easy to write code that never interpolates values into SQL strings, thus preventing SQL injections.