5
50295
Hi!
I'm trying to replace the whitespace in the following variable $var,
but for some reason its not working.
$var = "whit taker";
$var =~ tr/ //;
print "$var\n"; # still getting "whit taker"
What's wrong? Thanks,
- Olumide
I'm trying to replace the whitespace in the following variable $var,
but for some reason its not working.
$var = "whit taker";
$var =~ tr/ //;
print "$var\n"; # still getting "whit taker"
What's wrong? Thanks,
- Olumide