in reply to no uninitialized warnings

Howdy!

What do you want displayed when the variable is uninitialized? Your approach is straightforward and clear.

Data::Dumper provides another mechanism that will show uninitialized values as "undef" without requiring you to write lots of code.

yours,
Michael