File: README

package info (click to toggle)
libmath-base36-perl 0.14-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 156 kB
  • sloc: perl: 1,333; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
NAME
    Math::Base36 - Encoding and decoding of base36 strings

SYNOPSIS
      use Math::Base36 ':all';

      $b36 = encode_base36( $number, $padlength );
      $number = decode_base36( $b36 );

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 Henssel

    Copyright 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.