-l removes newlines, and adds them back in when printing -a autosplits the input line into array @F, using whitespace as the delimiter -n loop over each line of the input file -e execute the code within quotes $F[1] is the second element of the array, since Perl starts at 0 $. is the line number