Help for this page

Select Code to Download


  1. or download this
    @list = split('', $read);
    
    ...
        $key = sprintf("%s%2.2x", $key, $_);
        print $key, "\n";
    }
    
  2. or download this
    @list = unpack 'C*', $read;
    
  3. or download this
    @list = split('', $read); 
    $key = join "", map { sprintf "%2.2x", ord } @list;
    
  4. or download this
    @list = unpack 'C*', $read; 
    $key = join "", map { sprintf "%2.2x", $_ } @list;