Perldoc::DOM - Represent a Perldoc document, DOM-style
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.
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").
Perldoc::DOM trees are seldom created using the
Normally, they will be constructed as a series of events fired in by something that
.does(Perldoc::Sender), such as another
Perldoc::Filter, or a