in reply to How to use tr///

To add to what has been said, the number one thing to help make you go less insane reading that is to use a different divider.

I really wish more books changed the divider in regular expression examples to get across that you can use more than one symbol. It's become my cause at work to get co-workers to stop making \ / soup.

$value =~ s!/foo!/bar!g
--

Even smart people are dumb in most things...