in reply to Re^3: Find Replace text with list
in thread Find Replace text with list
open(FData,"< data") || die("Cannot Open File"); my @replace=<FData>; for my $replace (@replace) { $s =~ s/$replace->[0]/$replace->[1]/gee; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Find Replace text with list
by moritz (Cardinal) on Feb 07, 2011 at 15:29 UTC | |
by wa2nlinux (Novice) on Feb 08, 2011 at 02:42 UTC |