$master = [['œ','€','@','÷','ï','j','$'], ['5','_','o','u','f','ñ','”'], ['z','W','Q','š','~','7','O'], ['—','j','\\','}','i','«','ƒ'], 4,7]; for ($j=0;$j<$master->[4];$j++) { for ($i=1;$i<$master->[5];$i++) { $master->[$j][0]=($i==1||$i==6)? $master->[$j][0]^$master->[$j][$i]:(($i==2||$i==5)? $master->[$j][0]|$master->[$j][$i]: $master->[$j][0]&$master->[$j][$i]); } print $master->[$j][0]; }

Replies are listed 'Best First'.
Re: Bit Ops Galore
by premchai21 (Curate) on Apr 17, 2001 at 02:53 UTC
    What does it do? If you're creating a JAPH, it's not working under WinNT. It outputs four garbage characters.
      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