in reply to Creating Reports with hashes: Use of uninitialized value while adding integers
If I change:
to:my $quant = $tree_collection{$years}{$trees}{$size} || "-" +;
One group of your warning messages goes away:my $quant = $tree_collection{$years}{$trees}{$size} || 0;
You must decide if this still gives you the output you need.Argument "-" isn't numeric in addition (+)
In Section
Seekers of Perl Wisdom