Think about Loose Coupling | |
PerlMonks |
Re^2: DBI Sqlite create table dynamicallyby dsheroh (Monsignor) |
on May 06, 2017 at 09:06 UTC ( [id://1189648]=note: print w/replies, xml ) | Need Help?? |
Note that choroba's posted code uses $dbh->quote_identifier on the column names which should cover that concern.
(The truly paranoid - and this is a case where being paranoid is generally a good thing! - may wish to also do their own checks on the column names, but it shouldn't be necessary unless DBD::SQLite's quote_identifier has a major bug which has somehow gone undiscovered.)
In Section
Seekers of Perl Wisdom
|
|