Tsk tsk tsk,
you could potentially leave $| in a state other than
which you began ;-)
That also relies upon it being unset initially in
order for the first element of @in to end up @b
--
perl -pe "s/\b;([st])/'\1/mg"
Comment on Re: Answer: How can I skip an element in an array whilst reading...