Re: Porting Perl 5.6 to Perl 5.8 need \P{print}
by Frank Merrow other posts by this author
Apr 5 2007 5:51PM messages near this date
view in the new Beta List Site
Re: Porting Perl 5.6 to Perl 5.8 need \P{print}
|
Changes to DLL interface between Perl 5.6 and Perl 5.8
> $errmsgbase =~ tr/[\200-\377]/./; # Kill UFT-8 Problem Characters
> $errmsgbase =~ s/\P{print}/./g; # Doctor Unprintable Characters
Okay, answering my own question here . . . this seems to work:
$errmsgbase =~ s/\P{IsPrint}/./g; # Doctor Unprintable Characters
Oddly, my reading of Perl Programming says this should also work, but
it does not:
$errmsgbase =~ s/\P{IsC}/./g; # Doctor Unprintable Characters
Frank
_______________________________________________
Perl-Win32-Porters mailing list
Perl-Win32-Porters@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Frank Merrow
Sisyphus
Frank Merrow
Frank Merrow
|