in reply to Re: Bit Ops Galore
in thread Bit Ops Galore

It is creating "Japh," and I built it on Windows 2K. I'll look into the NT issue, though.

Replies are listed 'Best First'.
Re: Re: Re: Bit Ops Galore
by merlyn (Sage) on Apr 17, 2001 at 17:29 UTC
    There appear to be high-bit (not ASCII) characters pasted directly into the HTML. The odds of that being correctly cut and pasted to someone's box are next to nil.

    -- Randal L. Schwartz, Perl hacker

      Considering the high value ASCII characters, try replacing the definition of $master with this definition:

      $master = [[156,128,64,247,239,106,36], [53,95,111,117,102,241,148], [122,87,81,154,152,55,79], [175,106,92,125,105,171,131],4,7];
      This way, you shouldn't have to worry about copying and pasting high value ASCII, as I've put the decimal ASCII values into the definition. If that still gives you problems, let me know.

      -Sherlock
      Sorry - I almost forgot. If you change the definition of $master to the one above, you'll need to change the print statement to:

      print chr($master->[$j][0]);


      That will return the ASCII characters, rather than the integer values. Sorry about that.

      -Sherlock