On Mon, Sep 12, 2011 at 3:47 PM, Ryan Munson
<ryan.barrac...@elboardo.com> wrote:
> it to binary. (Hint: You may want to use the bitwise and operator 8 times.)
>
> Since 256 is 2^8, I am assuming using a computation of 2**8 is involved.

The answer is in the hint. What does the bitwise-and operator give
you? See perldoc perlop and/or Google for it. It does seem a bit
strange to have you doing bitwise operations before you learn of the
if statement, however ...


-- 
Brandon McCaig <http://www.bamccaig.com/> <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to