in reply to Thinking bout security- Mysql-perl

Things along the lines of DBIx::Connect (by PrincePawn, there are other things that do or will offer the same functionality), are very good for this. It also prevents the need for duplicate information in multiple locations.

--
perl -pe "s/\b;([mnst])/'\1/mg"