in reply to Re: Illegal character CTRLCHAR code 27
in thread Illegal character CTRLCHAR code 27
Hi,
I know how to remove a charachter, but wasn't sure what to use for the control charachter (as I've never had to do that)
This seems to do the trick though:
$user->{$col} =~ tr/\000-\037/ /;
Cheers
Andy
I know how to remove a charachter, but wasn't sure what to use for the control charachter (as I've never had to do that)
This seems to do the trick though:
$user->{$col} =~ tr/\000-\037/ /;
Cheers
Andy
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Illegal character CTRLCHAR code 27
by moritz (Cardinal) on May 03, 2010 at 09:26 UTC | |
by ultranerds (Hermit) on May 03, 2010 at 09:32 UTC | |
by FunkyMonk (Chancellor) on May 03, 2010 at 09:36 UTC | |
by ultranerds (Hermit) on May 03, 2010 at 10:36 UTC |
In Section
Seekers of Perl Wisdom