http://qs321.pair.com?node_id=113951

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.