NAME
Zing::ID - Globally Unique Identifier
ABSTRACT
Globally Unique Identifier
SYNOPSIS
use Zing::ID;
my $id = Zing::ID->new;
# "$id"
DESCRIPTION
This package provides a globally unique identifier.
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
host
host(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
iota
iota(Int)
This attribute is read-only, accepts (Int)
values, and is optional.
pid
pid(Int)
This attribute is read-only, accepts (Int)
values, and is optional.
salt
salt(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
time
time(Int)
This attribute is read-only, accepts (Int)
values, and is optional.
METHODS
This package implements the following methods:
string
string() : Str
The string method serializes the object properties and generates a globally unique identifier.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".