in reply to File Comparision

That's easy with List::Compare::Functional:
#!/usr/bin/perl -sl use strict; use warnings; use List::Compare::Functional qw(:main); my @Llist = qw(aa bb ac ad); my @Rlist = qw(bb cc cd); my @Ronly = get_complement( [\@Llist, \@Rlist] ); print "@Ronly";

Replies are listed 'Best First'.
Re^2: File Comparision
by jagdish1206 (Initiate) on Aug 12, 2011 at 14:26 UTC
    thanks for the reply. could you let me know if there is any routine for doing the range wise serach. range - 20 => check for record n of file2 in { n-k, n+k } range of file1. Thanks.