DBIx::MoCo::MUID - MUID generator for muid fields
my $muid = DBIx::MoCo::MUID->create_muid();
DBIx::MoCo::MUID provides "almost unique" id for MoCo Unique ID (muid) fields. They are less unique than UUIDs because they only have 64bits long.
They are generated as set of next 3 parts.
20 bits of ip address (last 20 bits) 36 bits of epoch time (lower 36 bits of msec.) (2.179 years) 8 bits of serial
DBIx::MoCo
Junya Kondo, <jkondo@hatena.com>
Copyright (C) Hatena Inc. All Rights Reserved.
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::MoCo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::MoCo
CPAN shell
perl -MCPAN -e shell install DBIx::MoCo
For more information on module installation, please visit the detailed CPAN module installation guide.