Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 meditating upon the Monastery: (10)
As of 2017-08-17 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (283 votes). Check out past polls.

    Notices?