NAME

Devel::Ladybug::ID - Overloaded GUID object class

DESCRIPTION

Extends Devel::Ladybug::Scalar and Data::GUID

ID objects stringify as base64, which makes them as small as practical.

SYNOPSIS

use Devel::Ladybug::ID;

#
# Generate a new GUID
#
do {
  my $id = Devel::Ladybug::ID->new();

  # ...
}

#
# Instantiate an existing GUID from base64
#
do {
  my $id = Devel::Ladybug::ID->new("EO2JXisF3hGSSg+s3t/Aww==");

  # ...
}

You may also instantiate from and translate between string, hex, or binary GUID forms using the constructors inherited from Data::GUID.

See Data::GUID and Data::UUID for more details.

SEE ALSO

Devel::Ladybug::Serial

This file is part of Devel::Ladybug.