Greetz#!/usr/bin/perl -w use strict; use Array::Compare; my @arr1 = 0 .. 10; my @arr2 = 0 .. 10; my $comp = Array::Compare->new; if ($comp->compare(\@arr1, \@arr2) { print "Arrays are the same\n"; } else { print "Arrays are different\n"; }
In reply to Re: comparing two lists
by Beatnik
in thread comparing two lists
by ashaman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |