Help for this page
use IO::Handle; my $infile= "input.txt"; ... close $in; # ... sort code here ... print $out @list;