Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Script critique requested

by roboticus (Canon)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-09-20 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls