Of course there is, but it's ill-advised.
Bite the bullet and use a module,
CGI
comes with perl itself so there's no
reason not to use it (until you do use it, and
can come up with a better reason than
disliking the
use command ;-)
--
perl -pew "s/\b;([mnst])/'$1/g"