| 1 |
NAME |
| 2 |
Math::Base36 - Encoding and decoding of base36 strings |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
use Math::Base36 ':all'; |
| 6 |
|
| 7 |
$b36 = encode_base36( $number, $padlength ); |
| 8 |
$number = decode_base36( $b36 ); |
| 9 |
|
| 10 |
DESCRIPTION |
| 11 |
This module converts to and from Base36 numbers (0..9 - A..Z) |
| 12 |
|
| 13 |
It was created because of an article/challenge in "The Perl Review" |
| 14 |
|
| 15 |
METHODS |
| 16 |
encode_base36( $number, [$padlength] ) |
| 17 |
Accepts a unsigned int and returns a Base36 string representation of the |
| 18 |
number. optionally zero-padded to $padlength. |
| 19 |
|
| 20 |
decode_base36( $b36 ) |
| 21 |
Accepts a base36 string and returns a Base10 string representation of |
| 22 |
the number. |
| 23 |
|
| 24 |
AUTHOR |
| 25 |
Rune Henssel <[email protected]> |
| 26 |
|
| 27 |
MAINTAINER |
| 28 |
Brian Cassidy <[email protected]> |
| 29 |
|
| 30 |
COPYRIGHT AND LICENSE |
| 31 |
Copyright 2002 by Rune Henssel |
| 32 |
|
| 33 |
Copyright 2007-2015 by Brian Cassidy |
| 34 |
|
| 35 |
This library is free software; you can redistribute it and/or modify it |
| 36 |
under the same terms as Perl itself. |
| 37 |
|