Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    printf("orig:    %b\n", $num);
    printf("flipped: %b\n", $flipped);
    
  2. or download this
    steve@maezi ~/scratch >perl bit.pl
    orig:    11100111
    flipped: 10100111