Help for this page

Select Code to Download


  1. or download this
    my @ch = (' ', '0'..'9', 'A'..'Z');
    my $base = @ch;
    ...
    }
    
    print $s;  # ZZZZZZ
    
  2. or download this
    my @val;
    $val[ ord($ch[$_]) ] = $_ for 0..$#ch;
    ...
        $m *= $base;
    }
    print $num;