Thanks everybody for your replies.  I think that Craig came the closest to
what I needed.  Here's what I figured out.  In order to get your own perl
modules to have their documentation registered with the perldl documentation
database whenever you 'use' the module, simply include this line somewhere:

$PDL::onlinedoc->scan(__FILE__) if ($PDL::onlinedoc);

The variable $PDL::onlinedoc is a global variable declared in
PDL/Doc/Perldl.pm, so it should only exist when you're running the perldl
shell.

I spent probably three hours this afternoon trying to figure that out and
somehow overlooked the 'scan' function.  In case you're wondering, there's
also 'scantree' method, which 'scans whole directory trees for
documentation.'

I also found what seems to be a bug that causes a segmentation fault, but
I'll report that separately.

David
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to