Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Illegal character CTRLCHAR code 27by ultranerds (Hermit) |
on May 03, 2010 at 09:19 UTC ( [id://838048]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|