Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Peta::FFI::UUID

pperl-specific module built into the interpreter. Runtime: PP.

Peta::FFI::UUID — Pre-baked libuuid bindings (Layer 1)

Uses dlopen("libuuid.so.1") at registration time. If libuuid is not installed, use Peta::FFI::UUID dies with a helpful message.

Functions:

  • uuid_generate() → returns UUID string
  • uuid_generate_random() → returns UUID string (random-based)
  • uuid_generate_time() → returns UUID string (time-based)
  • uuid_parse(string) → returns raw 16-byte binary UUID or undef on failure
  • uuid_is_null(string) → returns boolean
  • uuid_unparse(raw) → returns UUID string from 16-byte binary

Functions

uuid_generate

uuid_generate_random

uuid_generate_time

uuid_is_null

uuid_parse

uuid_unparse