Is this is correct way of creating array with three elements?, Did you try printing the values in @num_weights array?
my @num_weights = [36,264,188]; my @leftovers = [1,2,3,4];
In reply to Re: Troubles with Unshift and Push
by vinoth.ree
in thread Troubles with Unshift and Push
by nat47
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |