rose has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I have an array
my @OldArray=(0..50);
I need to move few index into another new array
my @NewArray = @OldArray[1..25];
I know how to copy index from array to array. But, how to move one array index into another array
Please advice me!
Thanks
Rose
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Array index move into another array
by FunkyMonk (Bishop) on Apr 17, 2009 at 12:57 UTC | |
by rose (Beadle) on Apr 17, 2009 at 13:16 UTC | |
|
Re: Array index move into another array
by targetsmart (Curate) on Apr 17, 2009 at 12:52 UTC | |
|
Re: Array index move into another array
by johngg (Canon) on Apr 17, 2009 at 16:36 UTC | |
|
Re: Array index move into another array
by cdarke (Prior) on Apr 17, 2009 at 12:52 UTC |