i want to compare var1 with var2 . for example if 101 from Var1 present in Var2 or not. similarly 201 of Var1 present in Var2. If the value of Var1 & Var2 is matching i want to exclude those values and store the remaining values in Var3.
My output should be
i want to allow upto one mismatch then how to get it done now in the above case it has a single mismatch so i should get that also in my output. i know there is something called agrep but there is any perlish way to do that
% perldoc -q approx
Found in /usr/share/perl/5.10/pod/perlfaq6.pod
How can I do approximate matching?
See the module String::Approx available from CPAN.