in reply to Re: Print the line with the largest number from standard input
in thread Print the line with the largest number from standard input
Nitpick: Because max returns undef when the list is empty (= there is a line with no digits), this code will generate "uninitialized" warnings in that case.
|
|---|