™.. CPANPLUS::Dist::MM - Online Linux Manual PageSection : 3pm
Updated : 2009-07-07
Source : perl v5.10.1
Note : Perl Programmers Reference Guide
NAMECPANPLUS::Dist::MM
SYNOPSIS $mm = CPANPLUS::Dist::MM−>new( module => $modobj );
$mm−>create; # runs make && make test
$mm−>install; # runs make install
DESCRIPTION\*(C`CPANPLUS::Dist::MM\*(C'\fR is a distribution class for MakeMaker related modules. Using this package, you can create, install and uninstall perl modules. It inherits from \*(C`CPANPLUS::Dist\*(C'\fR.
ACCESSORSparent() Returns the \*(C`CPANPLUS::Module\*(C'\fR object that parented this object. status() Returns the \*(C`Object::Accessor\*(C'\fR object that keeps the status for this module.
STATUS ACCESSORSAll accessors can be accessed as follows:
$mm−>status−>ACCESSOR makefile () Location of the Makefile (or Build file). Set to 0 explicitly if something went wrong. make () BOOL indicating if the \*(C`make\*(C'\fR (or \f(CW\*(C`Build\*(C'\fR) command was successful. test () BOOL indicating if the \*(C`make test\*(C'\fR (or \f(CW\*(C`Build test\*(C'\fR) command was successful. prepared () BOOL indicating if the \*(C`prepare\*(C'\fR call exited succesfully This gets set after \*(C`perl Makefile.PL\*(C'\fR distdir () Full path to the directory in which the \*(C`prepare\*(C'\fR call took place, set after a call to \*(C`prepare\*(C'\fR. created () BOOL indicating if the \*(C`create\*(C'\fR call exited succesfully. This gets set after \*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR. installed () BOOL indicating if the module was installed. This gets set after \*(C`make install\*(C'\fR (or \f(CW\*(C`Build install\*(C'\fR) exits successfully. uninstalled () BOOL indicating if the module was uninstalled properly. _create_args () Storage of the arguments passed to \*(C`create\*(C'\fR for this object. Used for recursive calls when satisfying prerequisites. _install_args () Storage of the arguments passed to \*(C`install\*(C'\fR for this object. Used for recursive calls when satisfying prerequisites.
METHODS
$bool = $dist−>format_available();Returns a boolean indicating whether or not you can use this package to create and install modules in your environment. Sets up the \*(C`CPANPLUS::Dist::MM\*(C'\fR object for use. Effectively creates all the needed status accessors. Called automatically whenever you create a new \*(C`CPANPLUS::Dist\*(C'\fR object. \*(C`prepare\*(C'\fR preps a distribution for installation. This means it will run \*(C`perl Makefile.PL\*(C'\fR and determine what prerequisites this distribution declared. If you set \*(C`force\*(C'\fR to true, it will go over all the stages of the \*(C`prepare\*(C'\fR process again, ignoring any previously cached results. When running \*(C`perl Makefile.PL\*(C'\fR, the environment variable \*(C`PERL5_CPANPLUS_IS_EXECUTING\*(C'\fR will be set to the full path of the \*(C`Makefile.PL\*(C'\fR that is being executed. This enables any code inside the \*(C`Makefile.PL\*(C'\fR to know that it is being installed via \s-1CPANPLUS\s0. Returns true on success and false on failure. You may then call \*(C`$dist\->create\*(C'\fR on the object to create the installable files.
$href = $dist−>_find_prereqs( file => '/path/to/Makefile', [verbose => BOOL])Parses a \*(C`Makefile\*(C'\fR for \f(CW\*(C`PREREQ_PM\*(C'\fR entries and distills from that any prerequisites mentioned in the \*(C`Makefile\*(C'\fR Returns a hash with module-version pairs on success and false on failure.
$bool = $dist−>create([perl => '/path/to/perl', make => '/path/to/make', makeflags => 'EXTRA=FLAGS', prereq_target => TARGET, skiptest => BOOL, force => BOOL, verbose => BOOL])\*(C`create\*(C'\fR creates the files necessary for installation. This means it will run \*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR. This will also scan for and attempt to satisfy any prerequisites the module may have. If you set \*(C`skiptest\*(C'\fR to true, it will skip the \f(CW\*(C`make test\*(C'\fR stage. If you set \*(C`force\*(C'\fR to true, it will go over all the stages of the \*(C`make\*(C'\fR process again, ignoring any previously cached results. It will also ignore a bad return value from \*(C`make test\*(C'\fR and still allow the operation to return true. Returns true on success and false on failure. You may then call \*(C`$dist\->install\*(C'\fR on the object to actually install it.
$bool = $dist−>install([make => '/path/to/make', makemakerflags => 'EXTRA=FLAGS', force => BOOL, verbose => BOOL])\*(C`install\*(C'\fR runs the following command:
make install Returns true on success, false on failure.
$bool = $dist−>write_makefile_pl([force => BOOL, verbose => BOOL])This routine can write a \*(C`Makefile.PL\*(C'\fR from the information in a module object. It is used to write a \*(C`Makefile.PL\*(C'\fR when the original author forgot it (!!). Returns 1 on success and false on failure. The file gets written to the directory the module's been extracted to. 0
Johanes Gumabo
Data Size : 22,215 byte
man-CPANPLUS::Dist::MM.3pmBuild : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 5 / 257,213
Visitor ID : :
Visitor IP : 3.15.239.207 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|252|CPANPLUS::Dist::MM.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|CPANPLUS::Dist::MM.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|252|CPANPLUS::Dist::MM.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|CPANPLUS::Dist::MM.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|CPANPLUS::Dist::MM.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|CPANPLUS::Dist::MM.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|CPANPLUS::Dist::MM.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|CPANPLUS::Dist::MM.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|252|CPANPLUS::Dist::MM.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|CPANPLUS::Dist::MM.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|144|\*(C`CPANPLUS::Dist::MM\*(C'\fR is a distribution class for MakeMaker related |\&\f(CW\*(C`CPANPLUS::Dist::MM\*(C'\fR is a distribution class for MakeMaker related
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|147|\*(C`CPANPLUS::Dist\*(C'\fR. |modules. It inherits from \f(CW\*(C`CPANPLUS::Dist\*(C'\fR.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|152|\*(C`CPANPLUS::Module\*(C'\fR object that parented this object. |Returns the \f(CW\*(C`CPANPLUS::Module\*(C'\fR object that parented this object.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|155|\*(C`Object::Accessor\*(C'\fR object that keeps the status for |Returns the \f(CW\*(C`Object::Accessor\*(C'\fR object that keeps the status for
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|167|\*(C`make\*(C'\fR (or \f(CW\*(C`Build\*(C'\fR) command was successful. |\&\s-1BOOL\s0 indicating if the \f(CW\*(C`make\*(C'\fR (or \f(CW\*(C`Build\*(C'\fR) command was successful.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|170|\*(C`make test\*(C'\fR (or \f(CW\*(C`Build test\*(C'\fR) command was |\&\s-1BOOL\s0 indicating if the \f(CW\*(C`make test\*(C'\fR (or \f(CW\*(C`Build test\*(C'\fR) command was
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|174|\*(C`prepare\*(C'\fR call exited succesfully |\&\s-1BOOL\s0 indicating if the \f(CW\*(C`prepare\*(C'\fR call exited succesfully
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|175|\*(C`perl Makefile.PL\*(C'\fR |This gets set after \f(CW\*(C`perl Makefile.PL\*(C'\fR
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|178|\*(C`prepare\*(C'\fR call took place, |Full path to the directory in which the \f(CW\*(C`prepare\*(C'\fR call took place,
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|179|\*(C`prepare\*(C'\fR. |set after a call to \f(CW\*(C`prepare\*(C'\fR.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|182|\*(C`create\*(C'\fR call exited succesfully. This gets |\&\s-1BOOL\s0 indicating if the \f(CW\*(C`create\*(C'\fR call exited succesfully. This gets
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|183|\*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR. |set after \f(CW\*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|187|\*(C`make install\*(C'\fR (or \f(CW\*(C`Build install\*(C'\fR) exits successfully. |\&\f(CW\*(C`make install\*(C'\fR (or \f(CW\*(C`Build install\*(C'\fR) exits successfully.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|193|\*(C`create\*(C'\fR for this object. Used |Storage of the arguments passed to \f(CW\*(C`create\*(C'\fR for this object. Used
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|197|\*(C`install\*(C'\fR for this object. Used |Storage of the arguments passed to \f(CW\*(C`install\*(C'\fR for this object. Used
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|207|\*(C`CPANPLUS::Dist::MM\*(C'\fR object for use. |Sets up the \f(CW\*(C`CPANPLUS::Dist::MM\*(C'\fR object for use.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|210|\*(C`CPANPLUS::Dist\*(C'\fR object. |Called automatically whenever you create a new \f(CW\*(C`CPANPLUS::Dist\*(C'\fR object.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|212|\*(C`prepare\*(C'\fR preps a distribution for installation. This means it will |\&\f(CW\*(C`prepare\*(C'\fR preps a distribution for installation. This means it will
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|213|\*(C`perl Makefile.PL\*(C'\fR and determine what prerequisites this distribution |run \f(CW\*(C`perl Makefile.PL\*(C'\fR and determine what prerequisites this distribution
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|216|\*(C`force\*(C'\fR to true, it will go over all the stages of the |If you set \f(CW\*(C`force\*(C'\fR to true, it will go over all the stages of the
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|217|\*(C`prepare\*(C'\fR process again, ignoring any previously cached results. |\&\f(CW\*(C`prepare\*(C'\fR process again, ignoring any previously cached results.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|219|\*(C`perl Makefile.PL\*(C'\fR, the environment variable |When running \f(CW\*(C`perl Makefile.PL\*(C'\fR, the environment variable
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|220|\*(C`PERL5_CPANPLUS_IS_EXECUTING\*(C'\fR will be set to the full path of the |\&\f(CW\*(C`PERL5_CPANPLUS_IS_EXECUTING\*(C'\fR will be set to the full path of the
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|221|\*(C`Makefile.PL\*(C'\fR that is being executed. This enables any code inside |\&\f(CW\*(C`Makefile.PL\*(C'\fR that is being executed. This enables any code inside
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|222|\*(C`Makefile.PL\*(C'\fR to know that it is being installed via \s-1CPANPLUS\s0. |the \f(CW\*(C`Makefile.PL\*(C'\fR to know that it is being installed via \s-1CPANPLUS\s0.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|226|\*(C`$dist\->create\*(C'\fR on the object to create the |You may then call \f(CW\*(C`$dist\->create\*(C'\fR on the object to create the
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|231|\*(C`Makefile\*(C'\fR for \f(CW\*(C`PREREQ_PM\*(C'\fR entries and distills from that |Parses a \f(CW\*(C`Makefile\*(C'\fR for \f(CW\*(C`PREREQ_PM\*(C'\fR entries and distills from that
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|232|\*(C`Makefile\*(C'\fR |any prerequisites mentioned in the \f(CW\*(C`Makefile\*(C'\fR
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|239|\*(C`create\*(C'\fR creates the files necessary for installation. This means |\&\f(CW\*(C`create\*(C'\fR creates the files necessary for installation. This means
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|240|\*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR. This will also scan for and |it will run \f(CW\*(C`make\*(C'\fR and \f(CW\*(C`make test\*(C'\fR. This will also scan for and
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|243|\*(C`skiptest\*(C'\fR to true, it will skip the \f(CW\*(C`make test\*(C'\fR stage. |If you set \f(CW\*(C`skiptest\*(C'\fR to true, it will skip the \f(CW\*(C`make test\*(C'\fR stage.
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|244|\*(C`force\*(C'\fR to true, it will go over all the stages of the |If you set \f(CW\*(C`force\*(C'\fR to true, it will go over all the stages of the
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|245|\*(C`make\*(C'\fR process again, ignoring any previously cached results. It |\&\f(CW\*(C`make\*(C'\fR process again, ignoring any previously cached results. It
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|246|\*(C`make test\*(C'\fR and still allow |will also ignore a bad return value from \f(CW\*(C`make test\*(C'\fR and still allow
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|251|\*(C`$dist\->install\*(C'\fR on the object to actually |You may then call \f(CW\*(C`$dist\->install\*(C'\fR on the object to actually
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|256|\*(C`install\*(C'\fR runs the following command: |\&\f(CW\*(C`install\*(C'\fR runs the following command:
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|263|\*(C`Makefile.PL\*(C'\fR from the information in a |This routine can write a \f(CW\*(C`Makefile.PL\*(C'\fR from the information in a
) (rof_escape_sequence|91|CPANPLUS::Dist::MM.3pm|264|\*(C`Makefile.PL\*(C'\fR when the original |module object. It is used to write a \f(CW\*(C`Makefile.PL\*(C'\fR when the original
)