in reply to Comparing two files
Greetz#!/usr/bin/perl use Algorithm::Diff qw(diff LCS); use strict; my @seq1 = ("A".."N"); my @seq2 = ("F".."Z"); my @diff = (); my @lcs = (); if (@diff = diff( \@seq1, \@seq2 )) { } # Not equal # Same for (@lcs = diff( \@seq1, \@seq2 ))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Comparing two files
by Anonymous Monk on May 26, 2001 at 01:09 UTC | |
by tye (Sage) on May 26, 2001 at 01:21 UTC | |
by Beatnik (Parson) on May 26, 2001 at 01:19 UTC |