I'm trying to change a '(' in a string to a '<'. I have tried several things, but with no success. I have not been able to substitute or transform, split, or substr. I've quotemeta'd and escaped in the ways I'm familiar with. Any help would be appreciated. Below was my first try. I would like to substitute, index, and split on the '<' character.
$varx = 'healthy(b'; $varx =~ s/\(/\</;
In reply to substituting 1 escaped character for another by craigt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |