in reply to Removing blank lines from array

@info=<READ>; @info=grep(!/^ +$/, @info);
should be written as
@info = grep {!/^\s+$/} map { chomp; $_ } <READ>;
You're not catching the newline in your regex. *shrugs*

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.