Spidy has asked for the wisdom of the Perl Monks concerning the following question:
Janitor note: Original content follows:
Greetings Fellow Monks,I have an array, that is filled with a number of elements. For example:
my @array = qw(penny coin dutch);
And I want to delete the 'coin' entry, while only having the 'coin' value(not the index number of that element within the array). Does anyone know how exactly I'd do this?
Considered by GrandFather: Restore original content and title
Content restored by Arunbear, using the mirror of g0n.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Deleting Elements from an Array without their Index Number?
by Corion (Patriarch) on Jul 23, 2006 at 21:19 UTC | |
by Fletch (Bishop) on Jul 23, 2006 at 23:58 UTC | |
by diotalevi (Canon) on Jul 24, 2006 at 00:32 UTC | |
by Anonymous Monk on Jul 24, 2006 at 15:18 UTC | |
by diotalevi (Canon) on Jul 24, 2006 at 15:45 UTC |