in reply to Bit Ops Galore

What does it do? If you're creating a JAPH, it's not working under WinNT. It outputs four garbage characters.

Replies are listed 'Best First'.
Re: Re: Bit Ops Galore
by Anonymous Monk on Apr 17, 2001 at 04:00 UTC
    It is creating "Japh," and I built it on Windows 2K. I'll look into the NT issue, though.
      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