03 Apr 2005 23:16:35 UTC
- Distribution: String-Koremutake
- Module version: 0.30
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (5306 / 5 / 0)
- KwaliteeBus factor: 0
- 100.00% Coverage
- License: perl_5
- Download (3.71KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:
- BUGS AND LIMITATIONS
- LICENCE AND COPYRIGHT
String::Koremutake - Convert to/from Koremutake Memorable Random Strings
use String::Koremutake; my $k = String::Koremutake->new; my $s = $k->integer_to_koremutake(65535); # botretre my $i = $k->koremutake_to_integer('koremutake'); # 10610353957
The String::Koremutake module converts to and from Koremutake Memorable Random Strings.
The term "Memorable Random String" was thought up by Sean B. Palmer as a name for those strings like dopynl, glargen, glonknic, spoopwiddle, and kebble etc. that don't have any conventional sense, but can be used as random identifiers, especially in URIs to keep them persistent. See http://infomesh.net/2001/07/MeRS/
Koremutake is a MeRS algorithm which is used by Shorl (http://shorl.com/koremutake.php). As they explain: "It is, in plain language, a way to express any large number as a sequence of syllables. The general idea is that word-sounding pieces of information are a lot easier to remember than a sequence of digits."
The new() method is the constructor:
The integer_to_koremutake method converts a positive integer to a Koremutake string:
my $s = $k->integer_to_koremutake(65535); # botretre
The koremutake_to_integer method converts a Koremutake string to the integer it represents:
my $i = $k->koremutake_to_integer('koremutake'); # 10610353957
No bugs have been reported.
Please report any bugs or feature requests to
bug-String-Koremutake@rt.cpan.org, or through the web interface at http://rt.cpan.org.
Copyright (c) 2005, Leon Brocard
email@example.com. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install String::Koremutake, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install String::Koremutake
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|