Here's a nice way to do what Stuart Watts recommended (chomping the array): open (FILE, "whatever"); chomp (my @array=<FILE>); And boom the newlines are killed in one fell swoop. I've used this with fantastic results. Stuart's way works well too, but I figured I'd throw this in...very 'perlish'. ~Matt __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
- Comparing arrays Watts Stuart-STWATTS1
- Re: Comparing arrays Collin Rogowski
- Re: Comparing arrays Dan Brown
- Comparing Arrays Matt Cauthorn
- Comparing Arrays Diego Riaņo
- Re: Comparing Arrays Aaron Craig
- RE: Comparing Arrays Mooney Christophe-CMOONEY1
- RE: Comparing Arrays Jeff 'japhy/Marillion' Pinyan
- Comparing Arrays Merritt Krakowitzer
- Re: Comparing Arrays Tor Hildrum
- Re: Comparing Arrays John W. Krahn
- Re: Comparing Arrays Janek Schleicher
- RE: Comparing Arrays Bob Showalter
- RE: Comparing Arrays Timothy Johnson