develooper Front page | perl.perl5.porters | Postings from November 2010

[perl #78820] PATCH: don't die if called before Unicode tables built

Thread Next
karl williamson
November 4, 2010 14:15
[perl #78820] PATCH: don't die if called before Unicode tables built
Message ID:
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #78820]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is patch gets round the chicken/egg problem of modules being needed 
by miniperl during the build of full Perl.  Changes I'm making to make 
regular expressions more aware of Unicode possible matches are causing 
these modules to realize that potentially some of their regular 
expressions could match outside the ASCII range, and so utf8_heavy is 
getting called in places where it previously wasn't.  The change is to 
not die when there are no tables and this is miniperl (because dying 
would prevent Perl from finishing compiling itself), but to return that 
no Unicode characters are matched the regular expressions.

I'm submitting this as a separate patch in case there is a problem with 
using $^X to find out if this is miniperl

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About