in reply to Re^2: Print the line with the largest number from standard input
in thread Print the line with the largest number from standard input

... captured groupings from a regex can be put in an array.

And they don't even have to be captured. Try
    @numbers = $line =~ /\d+/g;


Give a man a fish:  <%-{-{-{-<