|Just another Perl shrine|
Re: Ranking files, largest to smallestby prasadbabu (Prior)
|on May 27, 2008 at 05:31 UTC||Need Help??|
into chomp (@lines = <FILE>);
Here chop is not necessary to remove the newline character, it ll remove the last character, not only newline character. Instead you can use chomp which removes only the newline character at the end.