-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, February 6, 2002, at 09:59 , Bill -OSX- Jones wrote:
> what is happening here? Um, too much whitespace? :-) > $_ = ( > ( > (rand( > (16*( > (2**31)-1 Judging by the mechanics alone, it looks like the behavior will be highly dependent on what hte Perl interpreter thinks is the natural size of an integer. Or is that the whole point? > ) > ) > ) > ) >> (8) > ) & ~(~0 << 5) > ); > > print > > __END__ I tried running it several times in a row, and '31' was printed every time but once -- that time, it was '5'. - -- Craig S. Cottingham [EMAIL PROTECTED] PGP key available from: <http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0xA2FFBE41> ID=0xA2FFBE41, fingerprint=6AA8 2E28 2404 8A95 B8FC 7EFC 136F 0CEF A2FF BE41 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8Yh5oE28M76L/vkERAm5EAKD1py1GRiqx7wISjN1r/OKplb8q/wCg0zwy 7QhbEHusnrXZxrUpkjGDH8k= =1yIG -----END PGP SIGNATURE-----