in reply to Troubles with Unshift and Push
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];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Troubles with Unshift and Push
by nat47 (Sexton) on Mar 04, 2015 at 05:19 UTC | |
by vinoth.ree (Monsignor) on Mar 04, 2015 at 05:27 UTC | |
by nat47 (Sexton) on Mar 04, 2015 at 05:30 UTC | |
by vinoth.ree (Monsignor) on Mar 04, 2015 at 05:31 UTC | |
by nat47 (Sexton) on Mar 04, 2015 at 05:37 UTC |