-
Notifications
You must be signed in to change notification settings - Fork 0
hellmany/UUID-Pure
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
UUID-Pure
Generate UUID v7/v8 and get timestamp in ms from it
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make install
Methods:
my $uuid = uuidv7(); # gen uuid v7
my ($uuid,$tms) = uuidv7(); # gen uuid v7 and get timestamp in ms
my $uuidv8 = uuidv8('shard1'); # gen uuid v8
my ($uuidv8,$tms) = uuidv8(); # gen uuid v8 and get timestamp in ms
Example in example.pl file
LICENSE AND COPYRIGHT
This software is Copyright (c) 2024 by Yuri A. Kabaenkov.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
About
Generate UUID v7/v8 and get timestamp in ms from it
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published