in reply to Use of uninitialized value in addition (+)

You have declared the variable $funcSum but not assigned any value in it, So when you call the function  calcsum() with this argument it passes the undef value, So in function definition you are getting the error message

Replies are listed 'Best First'.
Re^2: Use of uninitialized value in addition (+)
by Anonymous Monk on Apr 08, 2009 at 04:20 UTC
    Monks rule!
    Thanks