Perl DBI without accessing the database
问题 I'm creating a set of SQL INSERT statements for a database that doesn't exist yet, and I'm saving them to file. How can I use Perl's powerful DBI module to create those INSERT statements without accessing a specific database. In particular, it looks like using the $dbh->quote() function requires that I instantiate $dbh with a connection to a database. 回答1: Unfortunately, the actual quote() behaviour isn't always a portable characteristic, so each driver will do them differently. Unless you