in reply to Shorten/simplify repetitive code
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.