Re: Comparing Arrays' Values

2004-09-03 Thread Wiggins d Anconia
> Hi guys (and gals!), > > I want to compare a constant, known (expected values) array with the > results I'm collecting in another array. > > Something like this, but I don't think this works the way I want it to: > > my @rray1 = qw( One Two Three ); > chomp( my @rray2 = ); > > print "The 2 a

Comparing Arrays' Values

2004-09-03 Thread Errin Larsen
Hi guys (and gals!), I want to compare a constant, known (expected values) array with the results I'm collecting in another array. Something like this, but I don't think this works the way I want it to: my @rray1 = qw( One Two Three ); chomp( my @rray2 = ); print "The 2 arrays are the same\n"