The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

Extends Devel::Ladybug::Scalar.

ID objects stringify as base64.

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.