s/^\s+// for @fields; # remove leading blanks s/\s+$// for @fields; # remove trailing blanks