I would like to write a comparable snippet of Perl code as to the awk statement bellow that was written for use within the UNIX Korn Shell. I’m somewhat intermediate to this stuff and could use some help. Thanks in Advance!
Awk to Perl conversion
awk '{ print $2, $1 }' $TMP1 > $TMP2
Awk to Perl conversion
awk '{ print $2, $1 }' $TMP1 > $TMP2