in reply to Re^2: All special character substitution and/or drop from column names.
in thread All special character substitution and/or drop from column names.

Ah sorry, I didn't notice the double underscore. In that case, as other people have pointed out, the /s option is the way to go:
$ perl -le'$_="Name & Something Else"; tr/ &/_/sd; print' Name_Something_Else

Dave.

  • Comment on Re^3: All special character substitution and/or drop from column names.
  • Download Code