NAME

LinkedList::Single::Example::Probe - payload object that records when it is destroyed

SYNOPSIS

use LinkedList::Single::Example::Probe;

LinkedList::Single::Example::Probe->reset;

$window->record( $time, LinkedList::Single::Example::Probe->new( $id ) );

my @ids = LinkedList::Single::Example::Probe->destroyed;

DESCRIPTION

A linked list releases each node as soon as nothing refers to it. That is hard to see from the outside; these objects make it visible by noting their id when perl destroys them. The examples use them to show that consuming a Fragment destroys its payloads one at a time as the Fragment advances.