Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Print the line with the largest number from standard inputby haukex (Archbishop) |
on Jul 25, 2019 at 20:14 UTC ( [id://11103393]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|