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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm using tr to count the '/' characters in a string...unfortunately, I can't escape it with a '\' (perl barfs). Any ideas?