in reply to Re: Substring comparison
in thread Substring comparison
/tmp/file1.txt is as stated abovemy $file1 = '/tmp/file1.txt'; my @Array1; open FILE, $file1 or die $!; while(<FILE>) { @Array1 = <FILE>; } my $file2 = '/tmp/file2.txt'; my @Array2; open FILE, $file2 or die$!; while(<FILE>) { @Array2 = <FILE>; } print @Array1; Print @Array2;
XXX FFF ZZZ AAA BBB QQQ LLL JKK III CCC DDD DCD
XXX BBB AAA CCC DDD EEE FFF NNN JKK III LLL QQQ
FFF ZZZ AAA BBB QQQ LLL JKK III CCC DDD DCD FFF NNN JKK III LLL QQQ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Substring comparison
by johngg (Canon) on May 01, 2012 at 21:31 UTC |