Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Script critique requested

by roboticus (Chancellor)
on Oct 05, 2012 at 00:36 UTC ( #997351=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @bits;
    for (128 64 32 16 8 4 2 1) {
        push @bits, ($dec & $_)  <=> 0;
    }
    
  2. or download this
    my $dec_a = $dec & 128;
    my $dec_b = $dec &  64;
    ...
    my $dec_f = $dec &   4;
    my $dec_g = $dec &   2;
    my $dec_h = $dec &   1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997351]
help
Chatterbox?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-08-21 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (322 votes). Check out past polls.

    Notices?