in reply to Deleteing array elements
@a = ['a','b','c','d'];
That's likely not "an array" in the sense you want. That's just an array with a single element that is a reference to another array with four elements. More likely, you want an array of four elements for a start:
@a = ('a','b','c','d');
Then you want to read splice and then use it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleteing array elements
by ciderpunx (Vicar) on Jul 23, 2009 at 07:18 UTC | |
by hobbs (Monk) on Jul 23, 2009 at 09:36 UTC |