![]() |
|
more useful options | |
PerlMonks |
Re: Bit fiddling madnessby RichardK (Parson) |
on Feb 11, 2014 at 12:12 UTC ( #1074404=note: print w/replies, xml ) | Need Help?? |
I have no clue as to what's going wrong and you only gave us a tiny code fragment so it's difficult to guess, however I wonder if this would help, or at least shed some light on what is happening. my $bit = ($addr & $mask) ? 1 : 0;
In Section
Seekers of Perl Wisdom
|
|