in reply to Re: Ranking files, largest to smallest
in thread Ranking files, largest to smallest
The Text File: Black Death #check the space Jesse Gunn The Crimson Shadow Ariana London Legion Scorpio Greg Manix
I doubt that in the file where you are reading the file names is having space and in the file names which you have given in example doesn't have space. So you check that.
Also In the below code, first line is not necessary.
change
intomy @lines = <FILE>; chomp (@lines = <FILE>);
chomp (@lines = <FILE>);
Prasad
In Section
Seekers of Perl Wisdom