http://www.perlmonks.org?node_id=230370


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

++BrowserUK!

I was bitten by my squashing of apostrophes. Because it was a fixed width file, squashing the apostrophes caused the width's to change. I changed the regex to:
s/(.)'(.\B*)/$1$2 /g
So, that spacing was added for each apostrophe I pulled from any field.

enoch