John Nestor wrote: > A couple of days ago, I sent in some code with an error message: > > Can't find unicode character property definition via main->a or a.plFile > 'unicode/Is/a.pl'; Line 0 > > As it turns out, the code sample I included was not the cause of the > problem, apparently. However, if I comment out the following line: > > $_=~s#^\\par (.+?)$#\\par <IDX1>$1<\/IDX1>\n#;
i might have missed your previous message a couple days ago but what version of Perl are you working with and on what platform? this line doesn't cause any problem on my machine, RH 7.3 2.4.18-14 with Perl v5.8.0. the error message you are describing usually happen when Perl can't find the unicode mapping for a certain characters that it can't find. for example, in a UNIX machine with Perl v5.6.0 and a OpenBSD box with Perl v5.6.1: [panda] $ perl -e '$_=""; s/\par//' Can't find unicode character property definition via main->a or a.pl at unicode/Is/a.pl line 1 [panda] $ the '\pa' thing tells Perl to look for a character mapping for the unicode character 'a' which doesn't exists. your regex actully correctly espace the '\' with '\\' so it shouldn't be a problem at all. are you sure it's not just a typo somewhere? david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]