in reply to MacPerl lies -

Well this much I can tell you the absence of #! is not a problem with MacPerl, though without it you can't be using -w. Though you seem to have enough errors on your hands as it is ;-).

--
perl -p -e "s/(?:\w);([st])/'\$1/mg"