Nanoid - Perl implementation of Nano ID
use Nanoid; my $default = Nanoid::generate(); # length 21 / use URL-friendly characters my $custom1 = Nanoid::generate(size => 10); # length 10 / use URL-friendly characters my $custom2 = Nanoid::generate(size => 10, alphabet => 'abcdef012345'); # length 10 / use 'abcdef012345' characters
Nanoid is a tiny, secure, URL-friendly, unique string ID generator.
Copyright (C) Hatena Co., Ltd..
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
tkzwtks <tkzwtks@gmail.com>
To install Nanoid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nanoid
CPAN shell
perl -MCPAN -e shell install Nanoid
For more information on module installation, please visit the detailed CPAN module installation guide.