Rechercher une page de manuel
Math::Base36.3pm
Langue: en
Version: 2009-11-19 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Math::Base36 - Encoding and decoding of base36 stringsSYNOPSIS
use Math::Base36 ':all'; $b36 = encode_base36( $number ); $number = decode_base36( $b36, $padlength );
DESCRIPTION
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.AUTHOR
Rune Henssel <perl@henssel.dk>MAINTAINER
Brian Cassidy <bricas@cpan.org>COPYRIGHT AND LICENSE
Copyright 2002 by Rune HensselCopyright 2007-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre