in reply to Suggestion on rewriting small code

If you ask a bunch of Perl programmers (with time on their hands) to demonstrate "Tim Toady" to you, you'll never get any work done. Just write the damned thing any which way that works then save the file and move on. Don't look back. Microseconds are plentiful these days.