sugar has asked for the wisdom of the Perl Monks concerning the following question:
hi all,
can i delete a specific element from an array. Example,
can i compare the elements one by one and delete the elements of @dels that match as a subset from the list of elements in @array?????@array=('water','wine','applepie','beer','orange juice') @dels=('apple','orange');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: deleting a specific element from an array
by kyle (Abbot) on Dec 03, 2008 at 02:17 UTC | |
Re: deleting a specific element from an array
by GrandFather (Saint) on Dec 03, 2008 at 03:10 UTC | |
Re: deleting a specific element from an array
by ikegami (Patriarch) on Dec 03, 2008 at 03:10 UTC | |
Re: deleting a specific element from an array
by ikegami (Patriarch) on Dec 03, 2008 at 02:18 UTC | |
| |
Re: deleting a specific element from an array
by lakshmananindia (Chaplain) on Dec 04, 2008 at 07:04 UTC |
Back to
Seekers of Perl Wisdom