in reply to Re^2: max and min values in 3-column file
in thread max and min values in 3-column file

If you see a loop like
while (<>){ ... }
then it means that the script is reading from STDIN (standard input). You now need to find out how to compose a command line that passes your file on STDIN to the perl script, which is a nice little exercise... :)
One of the solutions posted here used a DATA block at the end of the script, i.e. there is a signal to tell the perl interpreter that the rest of the file is not Perl code but data and the while loop reads from the data block line by line instead of STDIN.