This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



CPANPLUS::Dist(3pm)                   Perl Programmers Reference Guide                   CPANPLUS::Dist(3pm)



NAME
       CPANPLUS::Dist

SYNOPSIS
           my $dist = CPANPLUS::Dist->new(
                                       format  => 'build',
                                       module  => $modobj,
                                   );

DESCRIPTION
       "CPANPLUS::Dist" is a base class for "CPANPLUS::Dist::MM" and "CPANPLUS::Dist::Build". Developers of
       other "CPANPLUS::Dist::*" plugins should look at "CPANPLUS::Dist::Base".

ACCESSORS
       parent()
           Returns the "CPANPLUS::Module" object that parented this object.

       status()
           Returns the "Object::Accessor" object that keeps the status for this module.

STATUS ACCESSORS
       All accessors can be accessed as follows:
           $deb->status->ACCESSOR

       created()
           Boolean indicating whether the dist was created successfully.  Explicitly set to 0 when failed,
           so a value of "undef" may be interpreted as "not yet attempted".

       installed()
           Boolean indicating whether the dist was installed successfully.  Explicitly set to 0 when failed,
           so a value of "undef" may be interpreted as "not yet attempted".

       uninstalled()
           Boolean indicating whether the dist was uninstalled successfully.  Explicitly set to 0 when
           failed, so a value of "undef" may be interpreted as "not yet attempted".

       dist()
           The location of the final distribution. This may be a file or directory, depending on how your
           distribution plug in of choice works. This will be set upon a successful create.

       $dist = CPANPLUS::Dist->new( module => MODOBJ, [format => DIST_TYPE] );

       Create a new "CPANPLUS::Dist" object based on the provided "MODOBJ".  The optional argument "format"
       is used to indicate what type of dist you would like to create (like "makemaker" for a
       "CPANPLUS::Dist::MM" object, "build" for a "CPANPLUS::Dist::Build" object, and so on ).  If not
       provided, will default to the setting as specified by your config "dist_type".

       Returns a "CPANPLUS::Dist" object on success and false on failure.

       @dists = CPANPLUS::Dist->dist_types;

       Returns a list of the CPANPLUS::Dist::* classes available

       prereq_satisfied( modobj => $modobj, version => $version_spec )

       Returns true if this prereq is satisfied.  Returns false if it's not.  Also issues an error if it
       seems "unsatisfiable," i.e. if it can't be found on CPAN or the latest CPAN version doesn't satisfy
       it.

       _resolve_prereqs

       Makes sure prerequisites are resolved

       XXX Need docs, internal use only



perl v5.10.0                                     2007-12-18                              CPANPLUS::Dist(3pm)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.