Math::Base36 - Encoding and decoding of base36 strings
use Math::Base36 ':all'; $b36 = encode_base36($number); $number = decode_base36($b36,$padlength);
This module converts to and from Base36 numbers (0..9 - A..Z)
It was created because of an article/challenge in "The Perl Review"
None by default.
Accepts a unsigned int and returns a Base36 string representation of the number. optionally zero-padded to $padlength.
Accepts a base36 string and returns a Base10 string representation of the number.
Rune Henssel, <perl@henssel.dk>
Copyright (c) 2002 Rune Henssel. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Math::Base36, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Base36
CPAN shell
perl -MCPAN -e shell install Math::Base36
For more information on module installation, please visit the detailed CPAN module installation guide.