in reply to Re: Global varsin thread Global vars
Use strict and warnings
Alexseki as an aside, you might want to give the perlsyn documentation module a look, specifically search for 'Declarations', so you don't run into trouble with lexical variable scoping issues.