in reply to Fast search/replace?
sub propogate { my($array, $from, $to) = @_; foreach (@$array) { foreach (@$_) { $_ = $to if $_ == $from; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fast search/replace?
by arturo (Vicar) on Feb 14, 2001 at 01:12 UTC | |
by weingart (Acolyte) on Feb 14, 2001 at 01:14 UTC | |
|
Re: Re: Fast search/replace?
by weingart (Acolyte) on Feb 14, 2001 at 01:53 UTC | |
by chromatic (Archbishop) on Feb 14, 2001 at 01:58 UTC | |
by MeowChow (Vicar) on Feb 14, 2001 at 05:53 UTC | |
by arturo (Vicar) on Feb 14, 2001 at 01:57 UTC | |
by extremely (Priest) on Feb 14, 2001 at 13:24 UTC |