Samuel Lauber > Text-Toalpha-0.02 > Text::Toalpha

Download:
Text-Toalpha-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Text::Toalpha - Convert arbitary characters into letters

SYNOPSIS ^

  use Text::Toalpha qw(:all);
  my $alpha = toalpha($var);
  my $orig = fromalpha($alpha);

DESCRIPTION ^

Text::Toalpha converts arbitary characters into letters. The interface is the functions toalpha($var) and fromalpha($alpha). They do what there names suggest.

NOTE: This module does not use a code format used anywhere else.

NOTE 2: The code for this module is not a good example and is very messy.

WHY? ^

INTERNALS ^

Text::Toalpha uses a mapping table from characters to letters which maps them into digrams. Need more be said?

CAVEATS ^

The resulting output will double in size.

The permutation of characters to letters is not very well permutated. In English, the output characters are not very well distributed over the letters of the alphabet.

SEE ALSO ^

isalpha

AUTHOR ^

Samuel Lauber, <samuell@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2005 by Samuel Lauber

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: