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.
If I use the code like below$arr[$i] =~ s/^\c[A-Z]//g;
updates for only ctrlO. Please tell me how to update for all character$arr[$i]=~ s/\cO//g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Control characters
by JavaFan (Canon) on Jun 05, 2009 at 12:28 UTC | |
by AnomalousMonk (Archbishop) on Jun 05, 2009 at 17:11 UTC | |
Re: Control characters
by Anonymous Monk on Jun 05, 2009 at 12:08 UTC | |
Re: Control characters
by tbone1 (Monsignor) on Jun 05, 2009 at 15:18 UTC | |
by AnomalousMonk (Archbishop) on Jun 05, 2009 at 16:55 UTC |
Back to
Seekers of Perl Wisdom