in reply to Matching arrays
my $Line1 = join(" ",@array1); my $Line2 = join(" ",@array2); if ($Line1 =~ /$Line2/) { $Match = 1; } else { $Match = 0; }
Edit by tye, add CODE tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Matching arrays
by Anonymous Monk on Mar 26, 2003 at 08:03 UTC |