Re: Remove a specific element from an Array

2007-07-09 Thread yaron
Hi You might want to take a look at Array::Diff http://search.cpan.org/~typester/Array-Diff-0.04/lib/Array/Diff.pm Yaron Kahanovitch - Original Message - From: "Sumit" <[EMAIL PROTECTED]> To: beginners@perl.org Sent: Monday, July 9, 2007 10:43:48 AM (GMT+0200) Auto-Detected Subject: Remo

Re: Remove a specific element from an Array

2007-07-09 Thread Paul Lalli
On Jul 9, 3:43 am, [EMAIL PROTECTED] (Sumit) wrote: > I am a new bie to this Group. > I have a Problem. > I want to remove an element from an array whose index i dont know. What, exactly, was wrong with all the answers you got in comp.lang.perl.misc? Posting a duplicate message to another forum

Re: Remove a specific element from an Array

2007-07-09 Thread D. Bolliger
Sumit am Montag, 9. Juli 2007 09:43: > Hey Guys, Hi Sumit > I am a new bie to this Group. > I have a Problem. > I want to remove an element from an array whose index i dont know. >--- > > #!/usr/bin/perl -w > use strict; use warnings; # additionaly > my @updateNames = (); >

Re: Remove a specific element from an Array

2007-07-09 Thread thomas polnik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Sumit, perhaps it would be better, if you use a hash for updateNames. - -- snip -- #!/usr/bin/perl use strict; use warnings; use Data::Dumper;# I use this modul very often, it is very useful for debug my %updateNames; my @tempArr; # fill the