in reply to Re: reading a log file and sorting by last namein thread reading a log file and sorting by last name
open (LOG, $log) or die "Error: $!"; print sort map { s/(\S+)(\s+)(\S+)/$3$2$1/; $_ } <LOG>; [download]