|Don't ask to ask, just ask|
problems with tr///;by Anonymous Monk
|on Sep 25, 2001 at 22:25 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
im trying to take $string and pull every \ out of it.
so i use:
$script =~ tr/\\//;
and it doesnt do anything. but if i try:
$script =~ tr/\\/X/;
it will change all \ into X
Any ideas as to why i cant get this to run properly?