http://www.perlmonks.org?node_id=984887


in reply to concatenating variables

While you can probably do what you are trying to do, I strongly suspect you can get what you need with DBI placeholders/bind values, which will be a lot safer and clearer. (And, depending on the database, faster as well.)

See the DBI man page for more information.