☺唐鳳☻
and 1 contributors

NAME

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

SYNOPSIS

 use Perldoc::DOM;

 $kwoc = Perldoc::DOM.new();

 my $body = $kwoc.root;
 my @next = $body.children;

 my $node = $kwoc.lookup("#link");  # PLINK lookup - t.b.c.

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 interface.

Normally, they will be constructed as a series of events fired in by something that .does(Perldoc::Sender), such as another Perldoc::DOM, a Perldoc::Filter, or a Perldoc::Parser.