http://www.perlmonks.org?node_id=950182


in reply to Re^2: Creating Reports with hashes: Use of uninitialized value while adding integers
in thread Creating Reports with hashes: Use of uninitialized value while adding integers

I meant to assign the scalars to UNDEF.

$foo = (); will indeed do that, but since scalars are initialised to undef on creation, my $foo; is sufficient.