Ah, that explains it... Here is a patched version that
works for me on unix.
@d=(17,103,24,
63,31,106,32,2,45,
90,70, 104,71,2,72,2,81,
96,103,84,104, 84,115,105,
116,2,148,36, 149,113,150,
2,156,88,181, 36,182,2,212
,36,213,2,242 , 36,243,2,247,
86,271,36,291 ,54,292,2,319,
36,320,2,346,36 ,347,2,350,61,
372,31,396,99,397,2,422,113,423
,2,448,113,449,2,474,113,497
,100,498,2,522,81,523,113
,524,36,525,2,526,2
,531,65,572,105,
573,2,574,
2,575,2,
583,71,618,93,
619,2,620,2,634,
58,659,90,660,2,
681,69,692,103);for(;$i
<=$#d;$i+= 2 ){$c[$d[
$i]]=$d[$i+1]}foreach$c
(@c)
{if($c){$c+=$c==2?8:11}
else{$c=32}print chr($c)}
# WHEN A PERL HACKER RETIRES #
notice the slight munging in the second to last line of code... It now prints chr(10) instead of chr(13)
-Blake
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.