in reply to Perl set -x emulation
(I can't offer a comparison. I'd be interested to see one though!)