Front page | perl.fwp |
Postings from January 2002
Re: even.pl solutions
Thread Previous
|
Thread Next
From:
Dave Hoover
Date:
January 28, 2002 17:59
Subject:
Re: even.pl solutions
Message ID:
NFBBLBJAALMELNDMDOFCKEMNCDAA.dave@redsquirreldesign.com
BooK wrote:
> So we print $_ multiplied by 1 if all of those have
> 1 as their low-order
> bit. And by 0, if any of those numbers is even.
Can someone explain to my poor ignorant head what "low-order bit" means?
I'm guessing it has something to do with the '&' operator. Be gentle.
> ~$. is odd if $. is even
What is this? Tell me more, I'm lost.
TIA,
--Dave
Thread Previous
|
Thread Next