Maybe I've missed something, but if you don't care about the ordering of the addresses, just read them into a hash and then to delete it, just say: delete $list{ $address} if defined( $list{ $address}); Eric On Tue, Sep 12, 2000 at 03:25:22PM -0500, Dave Sherohman wrote: > John J. Trammell said: > > @old = grep { $_ ne $addr } @old; > > Cool! And, since that's a 1-liner, I don't even have to put it in a sub. > (What's better for readability, though...) > > -- > "Two words: Windows survives." - Craig Mundie, Microsoft senior strategist > "So does syphillis. Good thing we have penicillin." - Matthew Alton > Geek Code 3.1: GCS d- s+: a- C++ UL++$ P+>+++ L+++>++++ E- W--(++) N+ o+ > !K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org > For additional commands, e-mail: tclug-list-help at mn-linux.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org For additional commands, e-mail: tclug-list-help at mn-linux.org