http://www.perlmonks.org?node_id=907076


in reply to code critique

Take a look at Damian Conway's book 'Perl best Practices' and the attendant Perl module Perl::Critic. The Damian has some good points to make (and a few that I disagree with). Running your code through perl-critic at a reasonable level of strictness (-4 or for the very masochistic -3) can be enlightening.

Also use warnings in addition to use strict -- suspenders and belt....

----
I Go Back to Sleep, Now.

OGB