I'm actually looking for the source code for execute() (IE sub execute { .. }), do() and quote() are in DBI.pm, prepare() is in DBD/mysql.pm but execute in neither.
The source code for execute is in dbd_st_execute() in dbdimp.c, and if you want to know how the quoting is done, you will need to download the the soucre code for the mysql client libraries spec. the function mysql_reql_escape_string() because that is how DBD::mysql handles the quoting.
HTH,
Rudy
Thanks Rudy , I'd have never found it! :)