There's more than one way to do things | |
PerlMonks |
How do i escape a '/' character when using tr?by Anonymous Monk |
on Aug 21, 2000 at 20:33 UTC ( [id://28839]=perlquestion: print w/replies, xml ) | Need Help?? |
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?
Back to
Seekers of Perl Wisdom
|
|