Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Cleaning Data Between Specified Columns

by Aristotle (Chancellor)
on Jan 28, 2003 at 01:51 UTC ( [id://230451] : note . print w/replies, xml ) Need Help??


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

Damn. That's great. :) And with a little change it's strict compliant and shorter too:
{ local *_ = \substr $source, $start, $len; y/a-zA-Z0-9\n\|-/ /c; y/'//d; }
Update: changed order of transliterations to account for the deletion of characters causing extra characters to shift in.

Makeshifts last the longest.