On Mon, Sep 12, 2011 at 3:47 PM, Ryan Munson <[email protected]> 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/> <[email protected]> V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl. Castopulence Software <http://www.castopulence.org/> <[email protected]> -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
