http://qs321.pair.com?node_id=230379


in reply to Re: Re: Cleaning Data Between Specified Columns
in thread Cleaning Data Between Specified Columns

In that case, there's no need for this line

$tmpString =~ s/(.)'(.)/$1$2/g; # squash apostrophes

As the next line

$tmpString =~ tr/a-zA-Z0-9\n\|\-/ /c; # remove bad characters

will convert them to spaces anyway?


Examine what is said, not who speaks.

The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.