Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Creating Reports with hashes: Use of uninitialized value while adding integers

by toolic (Bishop)
on Jan 26, 2012 at 15:23 UTC ( #950122=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                my $quant = $tree_collection{$years}{$trees}{$size} || "-"
    +;
    
  2. or download this
                my $quant = $tree_collection{$years}{$trees}{$size} || 0;
    
  3. or download this
    Argument "-" isn't numeric in addition (+)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950122]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-02-22 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (329 votes). Check out past polls.