You can use MyCPAN::Indexer under the same terms as Perl itself.