NAME

Perldoc::DOM - Represent a Perldoc document, DOM-style

SYNOPSIS

$kwoc = new Perldoc::DOM();

my $body = $kwoc->root();
my @next = $body->daughters();

my $node = $kwoc->klink("S09#//para/");  # KLINK lookup

DESCRIPTION

A Perldoc::DOM is a directed acyclic graph, which is a Computer Scientist's way of saying "tree" (cue: the Fast Show "aliens that say 'tree' skit").

CREATING A Perldoc::DOM TREE

Perldoc::DOM trees are seldom created using the Tree::DAG_Node interface.

Normally, they will be constructed as a series of events fired in by a Perldoc::Sender, such as another Perldoc::DOM, a Perldoc::Preprocessor, or a Perldoc::Parser.