If you are going to print inside the loop, then use of @lines is useless (given the code), for the current line would be the only one (1) element of @lines, ever.
What is your input? What is the highest number printed?
In reply to Re^3: Find maximum number in text file and copying its full statement in new text file?
by Anonymous Monk
in thread Find maximum number in text file and copying its full statement in new text file?
by sumathigokul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |