Check out splice in perldoc Mark :) >>> "Schiza, Apostolia (ISS Atlanta)" <[EMAIL PROTECTED]> 06/27/01 10:45AM >>> Hi all, this might be easy... There are the pop and shift function for removing elements from the front and the end of an array, but is there a way you can remove elements from, say the middle? I have two arrays storing info, and I need to search the array1 for all the elements of the array2, and I would like to remove elements from both array1 and array2 that were already found so that they won't be used again for the next search again...(I would like to avoid ways of having temporary arrays and copying elements from the original arrays to the temp ones...) any thoughts? Thanks -Lia- Apostolia Schiza Software Engineer Tools & Automation Team Tel: (404)-236-3186 Fax: (404)-236-2609 http://www.iss.net Internet Security Systems - The power to protect "Progress lies not in enhancing what is, but in advancing toward what will be." -Kahlil Gibran , "A Handful of Sand on the Shore" _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web