NAME
Devel::Ladybug::Runtime - Initialize Devel::Ladybug at runtime instead of compile time
SYNOPSIS
#
# Set up a self-destructing Devel::Ladybug environment which evaporates
# when the process exits:
#
use strict;
use warnings;
use vars qw| $tempdir $path |;
BEGIN: {
$tempdir = File::Tempdir->new;
$path = $tempdir->name;
};
require Devel::Ladybug::Runtime;
Devel::Ladybug::Runtime->import($path);
DESCRIPTION
Enables the creation of temporary or sandboxed Devel::Ladybug environments. Allows loading of the Devel::Ladybug framework at runtime.
Good for testing, and not much else.
SEE ALSO
This file is part of Devel::Ladybug.