works just fine in my copy of Perl. Or you can use an alternate delimiter:$count_slash = tr/\///;
$count_slash = tr#/##;
In reply to Re: How do i escape a '/' character when using tr?
by merlyn
in thread How do i escape a '/' character when using tr?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |