in reply to How to call counter.pl script from another script

Have you considered placing this code in a sub and moving the sub into a Perl module? If you are unfamiliar with modules, Simple Module Tutorial is a good place to start.
  • Comment on Re: How to call counter.pl script from another script