lrenigu has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a program where I grep for the element from an unknown array (the array keeps incrementing) and want to remove the grepped element. I know I can use splice to remove the element from an array but I need the position of the element to set the OFFSET. Please help.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do I find the position of an element in an unknown array
by dragonchild (Archbishop) on Sep 21, 2001 at 22:51 UTC | |
Re: How do I find the position of an element in an array?
by runrig (Abbot) on Sep 21, 2001 at 22:56 UTC | |
by runrig (Abbot) on Sep 21, 2001 at 23:00 UTC | |
Re: How do I find the position of an element in an array?
by fundflow (Chaplain) on Sep 22, 2001 at 13:22 UTC | |
Re: how do I find the position of an element in an unknown array
by QwertyD (Pilgrim) on Apr 04, 2006 at 18:10 UTC |
Back to
Seekers of Perl Wisdom