How can you find the sum of an array using just shift and pop?
Please, check your last post. Help with arrays
Moreover, your code die with several errors. Please, use warnings and strict
Comments in Perl is started with #
Also check the following Up:
push, pop, shift, unshift
In reply to Re: using pop and shift to find the sum of an array
by 2teez
in thread using pop and shift to find the sum of an array
by perlguru22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |