in reply to Re: check my code
in thread check my code

Right ++! The template that I use for starting all my perl source files is something like this, which is pretty much what you see in most CPAN modules:
#!/usr/bin/perl =head1 NAME =head1 SYNOPSIS =head1 DESCRIPTION =cut use strict;
I normally fill in the POD sections before I write any actual code. (This helps me establish and maintain focus, which tends to make the code easier and quicker to write.)