Nanoid - Perl implementation of nanoid
use Nanoid; my $default = Nanoid::generate(); # length 21 / use URL-friendry character my $custom1 = Nanoid::generate(10); # length 10 / use URL-friendry character my $custom2 = Nanoid::generate(10, 'abcdef012345'); # length 10 / use 'abcdef012345'
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.