in reply to To initialise or not to initialise?

If you are not initialising the variables, they take the value undef. There are many cases when I specifically test for this:
if (defined $foo) { .... }
This is very different from C, where the contents of your variable are arbitrary and could contain complete garbage.

Perl has a nice pragma called "use warnings", which spots when I have been to lazy to initialize any scalar variable I am trying to use.

--
I'm Not Just Another Perl Hacker