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/

Reply via email to