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


in reply to Map: The Basics

Pretty good, but make sure you watch your regex.
s/[.,!\?]\B//g
will match anything that has a boundry at the end. You need to escape the . Like this: s/[\.,!\?]\B//g

- p u n k k i d
"Reality is merely an illusion, albeit a very persistent one." -Albert Einstein