in reply to printing elements of an array on new lines

{ local $" = "\n"; print "@array"; }
or:
print join("\n", @array);

--Bob Niederman, http://bob-n.com

All code given here is UNTESTED unless otherwise stated.