in reply to improving the aesthetics of perl code
(minor typo - it's "aesthetic".) Check out perldoc perlstyle - that's a great place to start.