in reply to
Re^2: Variable interpolation in a file to be read in
in thread Variable interpolation in a file to be read in
quote() is evil. Well, not exactly, but using quote() manually causes more trouble than it is worth. Always use placeholders and you never again have to think about quoting values for SQL statements. Plus, DBI, DBD or database can cache prepared statements for better application performance.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)