Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Ranking files, largest to smallest

by prasadbabu (Prior)
on May 27, 2008 at 06:24 UTC ( #688603=note: print w/replies, xml ) Need Help??


in reply to Re: Ranking files, largest to smallest
in thread Ranking files, largest to smallest

example: blackdeath.total and dandelion.total

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

my @lines = <FILE>; chomp (@lines = <FILE>);
into

chomp (@lines = <FILE>);

Prasad

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://688603]
help
Chatterbox?
[marto]: Re: Monastery login over http
[Corion]: Veltro: This is due to the fact that one of our webservers doesn't have "our" https certificate but another https certificate. Work is underway (well, on my long, long to-do list) to switch even that server over to "our" certificate

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2018-05-23 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?