|
NAMEMath::Base36 - Encoding and decoding of base36 stringsSYNOPSISuse Math::Base36 ':all'; $b36 = encode_base36( $number, $padlength ); $number = decode_base36( $b36 ); DESCRIPTIONThis module converts to and from Base36 numbers (0..9 - A..Z)It was created because of an article/challenge in "The Perl Review" METHODSencode_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.AUTHORRune Henssel <perl@henssel.dk>MAINTAINERBrian Cassidy <bricas@cpan.org>COPYRIGHT AND LICENSECopyright 2002 by Rune HensselCopyright 2007-2015 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |