Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2016-12-10 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.