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

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

Hi, I have to replace all the control characters like ^O,^N but the code below does not substitutes.
$arr[$i] =~ s/^\c[A-Z]//g;
If I use the code like below
$arr[$i]=~ s/\cO//g;
updates for only ctrlO. Please tell me how to update for all character