Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
        $_ = join "", map { sprintf("%2.2x",ord($_)) } split //;
        print OUT $_, $/;
    }
    
  2. or download this
        my $outstr = "";
        $outstr .= sprintf("%2.2x",ord($_)) for (split //);
        print $outstr, $/;