Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    chomp($_=<STDIN>);
    print "$_->[1]: $_->[0]\n" for map{[unpack("B*",$_),$_]}split'';
    
  2. or download this
    perl -wle '$_=<STDIN>,chop;map{print"$_: ",unpack("B*",$_)}split//'