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
In reply to Re: Use of uninitialized value in addition (+)
by vinoth.ree
in thread Use of uninitialized value in addition (+)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |