I've hacked a simple script to convert the index/TOC
output to a
Turns out the solution can be generalized to convert
any HTML with a nested list (<ul> or <ol>) TOC
to a JS Tree widget...which makes me think there's a CPAN
module that already does this, but I haven't found the
search terms to locate it.
(As an example of the different output, see this
page vs. the
- Does anyone know of such a module ?
- If non-existant, is a solution CPAN worthy ?
- If CPAN worthy, suggested names ? Working
title is HTML::ListToJSTree (or maybe HTML::TOCtoJSTree ?)
Done. See HTML::ListToTree.
Perl Contrarian & SQL fanboy