Help for this page

Select Code to Download


  1. or download this
    # Create a buffer containing the binary representation
    # of the number we want converted
    ...
    # unpack to binary
    my $bin = unpack("B*", $packed);
    print "$bin\n";
    
  2. or download this
    ---
    print map { my ($m)=1<<hex($_)&11?' ':'';
    $m.=substr('AHJPacehklnorstu',hex($_),1) }
    split //,'2fde0abe76c36c914586c';