"be consistent" | |
PerlMonks |
Re^3: Finding average using package subroutineby toolic (Bishop) |
on Aug 09, 2011 at 16:50 UTC ( [id://919505]=note: print w/replies, xml ) | Need Help?? |
Where am I going wrong?You didn't describe the problem you are having. When I run your code, it seems to work fine for me. If I input the values 2 and 8, it correctly prints a result of 5. You'll be better off in the long run if you:
In Section
Seekers of Perl Wisdom
|
|