in reply to Changing file modification date.

Also, there is no need to quote your variables in this case. "abc$def" is meaningful because you're interpolating and it amounts to a concatenation. "$def" eq $def; well perhaps unless $def is some dual value variable.

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