brian d foy > MyCPAN-App-DPAN > MyCPAN::App::DPAN

Download:
MyCPAN-App-DPAN-1.28.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  1
View/Report Bugs
Module Version: 1.28   Source   Latest Release: MyCPAN-App-DPAN-1.28_11

NAME ^

MyCPAN::App::DPAN - Create a CPAN-like structure out of some dists

SYNOPSIS ^

        use MyCPAN::App::DPAN;
        
        my $application = MyCPAN::App::DPAN->activate( @ARGV );
        
        # do some other stuff, anything that you like
        
        $application->activate_end;

DESCRIPTION ^

This module ties together all the bits to let the dpan do its work. It overrides the defaults in MyCPAN::App::BackPAN::Indexer to provide the right components.

The work happens in two steps. When you call activate, the program goes through all of the steps to examin each of the module distributions. It creates a report for each distribution, then stops. This pause right after the examination gives you the chance to do something right before the program creates the PAUSE index files. The examination might take several minutes (or even hours depending on how much you want to index), so you have a chance to check the state of the world before the next step.

When you call activate_end, the program takes the results from the previous step and creates the PAUSE index files in the modules directory. This step should be very quick since all of the information is ready-to-go.

SOURCE AVAILABILITY ^

This code is in Github:

      git://github.com/briandfoy/mycpan-indexer.git
      git://github.com/briandfoy/mycpan--app--dpan.git

AUTHOR ^

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (c) 2008-2009, brian d foy, All Rights Reserved.

You may redistribute this under the same terms as Perl itself.

syntax highlighting: