http://qs321.pair.com?node_id=1219326

craigt has asked for the wisdom of the Perl Monks concerning the following question:

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/\(/\</;