Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

A script I have written that makes heavy use of Unicode character and block name properties relies on the auto-generated and scripts in the Perl/lib/unicore/ directory. Unfortunately, as of Perl 5.8.5, the script is no longer generated for no apparent reason that I can find. The mktables script in Perl 5.8.5, 5.8.6 and 5.8.7 all build the script, but they never actually write it. (The line is commented out.)

Compare 5.8.4 mktables to 5.8.5 mktables. Notice the file->Write line is commented out in 5.8.5.

5.8.4 $Blocks->Write(""); 5.8.5 # $Blocks->Write("");

I can find no reference in the change log about why this is. There is nothing about being depricated. There IS some commentary in Blocks about Unicode Blocks and the newer, superior, Unicode Scripts, but there is no indication that is no longer available. Interestingly enough, mktables has the file->Write line for commented out too, so I couldn't use that either. In fact,

# $Bidi->Write(""); # $Number->Write(""); # $General->Write(""); # $Lbrk->Write(""); # $ArabLink->Write(""); # $ArabLinkGroup->Write(""); # $Short->Write(""); # $Scripts->Write(""); # $Blocks->Write("");

are ALL commented out for no given reason.

Am I missing something? Is there a notice somewhere about not having any of those available anymore? Uncommenting the commented out lines and re-running mktables generates everything without detectable error. While that is fine for me locally, it becomes problematic for scripts that I am planning to distribute.

For a demo script showing WHY I really want to have access to and see my scratchpad. (You may need to uncomment the Blocks line in mktables and run it before this will work, and you will probably need at least one font installed that has good Unicode coverage.)

2005-12-07 Retitled by holli, as per Monastery guidelines from Some unicore scripts no longer auto-generated?
Original title: 'Some unicore scripts no longer auto-generated?'

2005-12-07 Retitled by holli, as per Monastery guidelines
Original title: 'Some unicode scripts no longer auto-generated?'

In reply to Some unicore scripts no longer auto-generated? by thundergnat

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-12-04 05:34 GMT
Find Nodes?
    Voting Booth?

    No recent polls found