With the perldoc-search program, you can easily search all your perl documentation to find where that elusive "add_build_element" method is documented.
When I say this:
perldoc-search add_build_element
I get this:
perltoc - perl documentation table of contents
Module::Build::API - API Reference for Module Authors
Module::Build::Cookbook - Examples of Module::Build Usage
I'm glad you chose M::B as an example of usage - it is indeed annoying sometimes to figure out which POD file to look in for what you need.
Re:Yay
jjore on 2009-06-28T00:25:40
Well... for truth, I wrote this program just to make it easy to find that one method. I could have grepped too, I know. This time I didn't.
For info, Pod::POM::Web is a documentation viewer with an optional fulltext indexing module.
You get a result like this
Fulltext search for 'add_build_element'
Results 1 to 3 from 3
source
Module/Build/Cookbook
(2215) Module::Build::Cookbook - Examples of Module::Build Usage
source
Module/Build/Base
(738) Module::Build::Base - Default methods for Module::Build
source
Module/Build/API
(738) Module::Build::API - API Reference for Module Authors
Results 1 to 3 from 3
perlindex (part of the Text-English distribution) is also capable of doing fulltext searches:
$ perlindex add_build_element
1 0.239 lib/perl5/site_perl/5.8.8/Module/Build/Cookbook.pm
2 0.057 lib/perl5/site_perl/5.8.8/Module/Build/API.pod
Enter Number or 'q'>
Re:perlindex
educated_foo on 2009-06-30T00:02:16
That's super-useful, and at least 13 years old. I can't believe I haven't found it yet. Thanks for the pointer.