in reply to perl POD


You could store all of the documentation in a single file and access it using the core module Pod::Select. The following example reads the NAME POD section from a file and displays it on STDOUT:
#!/usr/bin/perl -w use strict; use Pod::Select; my $parser = new Pod::Select(); $parser->select("NAME"); $parser->parse_from_file("Module.pm", "-"); __END__
However, the POD that is displayed is in raw format without any translation of the POD escapes. So you would probably have to write the data to an intermediary file, or IO::Scalar object, and massage the data.

In the end it may be simpler to create your own selection routine, perhaps via Pod::Parser or Pod::Simple.

--
John.