English     Español
[Main Index] : Programming : Languages : Perl : CPAN Modules : Data Type Utilities : Math
 Math::Base36 CPAN (Perl) Module 

Search

 

Documents

Math::Base36 - Encoding and decoding of base36 strings (Displayed)

Math::Base36 - Encoding and decoding of base36 strings


NAME

Math::Base36 - Encoding and decoding of base36 strings


SYNOPSIS

  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''

EXPORT

None by default.

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>


COPYRIGHT

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.

Information

This site is currently in testing, it is not yet operating using the full database. Until it is officially launched you may wish to visit Help-Site Computer Manuals. After launch, this site (HelpSpy) will replace Help-Site. Information about the spider which is currently trawling the Internet looking for links to add to this directory can be found here.
   

©Copyright Nicholas Reynolds 2004