in reply to Re: Bit operation
in thread Bit operation

Thanks, On my system its look like
my $val = 0xffff_fff0; printf "%x\n", $val; $val |= 0x0000_0008; printf "%x\n", $val;
fffffff0 8

Replies are listed 'Best First'.
Re^3: Bit operation (perl version/OS)
by toolic (Bishop) on Jan 12, 2011 at 15:31 UTC
    What version of perl are you using?
    perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread
Re^3: Bit operation
by ikegami (Patriarch) on Jan 12, 2011 at 18:23 UTC
    Please double check. Are you sure that's exactly the code you ran? If so, please provide the output of perl -V. (That's an uppercase "V".)