in reply to Basic Print statement question

Help needed understanding global variables in Perl is an extensive discussion of global variables.

I'm using print statements to help me out.
I recommend you to take a look at Log::Log4perl.

Update:Changed to relative PM link thanks to Corion.

--
Andreas