UPDATE: Consider Memoize.
-- perl -pe "s/\b;([st])/'\1/mg"
In reply to Re: Page 18 of the Camel by belg4mit in thread Inefficient code in Camel book? by cmilfo