There's more than one way to do things | |
PerlMonks |
Re: Ranking files, largest to smallestby prasadbabu (Prior) |
on May 27, 2008 at 05:31 UTC ( [id://688598]=note: print w/replies, xml ) | Need Help?? |
Hi ewexperts, 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. Prasad
In Section
Seekers of Perl Wisdom
|
|