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


in reply to Need help escaping literal string

Since nobody else has mentioned this yet -- if you assemble SQL in the manner you were originally attempting, you have a much higher probability of having problems once Bobby Tables starts working with you. Having a dropped table or proprietary data extracted can be an expensive lesson to learn.

--MidLifeXis