Math::Base36(3pm)

Math::Base363pm

Encoding and decoding of base36 strings

Usage

  use Math::Base36 ':all';
  $b36 = encode_base36( $number, $padlength );
  $number = decode_base36( $b36 );

Overview

This module converts to and from Base36 numbers (0..9 - A..Z)

It was created because of an article/challenge in "The Perl Review"

Methods

encode_base36( $number, [$padlength] )

Accepts a unsigned int and returns a Base36 string representation of the number. optionally zero-padded to $padlength.

decode_base36( $b36 )

Accepts a base36 string and returns a Base10 string representation of the number.

Maintainer

Brian Cassidy <[email protected]>

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

Author

Rune Henssel <[email protected]>

From libmath-base36-perl 0.14-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.