Re: Numeric sort warning

2005-09-02 Thread Ramprasad A Padmanabhan
What do you get when you run perl -c Did you cut paste the program from some man page ? Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Numeric sort warning

2005-08-31 Thread Timothy Johnson
My guess is that it is because you are forgetting to strip the newline character from each line of the file before you do your sort. my @file = ; chomp @file; #<--- insert this line But don't forget that if you do this, you'll have to put the newlines back in before you print it the results to t