my $internals   = CPANPLUS::Internals−>_init( _conf => $conf );
    my $backend     = CPANPLUS::Internals−>_retrieve_id( $ID );


This module is the guts of CPANPLUS -- it inherits from all other modules in the CPANPLUS::Internals::* namespace, thus defying normal rules of OO programming -- but if you’re reading this, you already know what’s going on ;)

Please read the "CPANPLUS::Backend" documentation for the normal API .



Get/set the configure object


Get/set the id


$internals = CPANPLUS::Internals−>_init( _conf => CONFIG_OBJ )
creates a new CPANPLUS::Internals object.

You have to pass it a valid "CPANPLUS::Configure" object.

Returns the object on success, or dies on failure.

$bool = $internals−>_flush( list => \@caches )
Flushes the designated caches from the "CPANPLUS" object.

Returns true on success, false if one or more caches could not be be flushed.

$bool = $internals−>_register_callback( name => CALLBACK_NAME , code => CODEREF );
Registers a callback for later use by the internal libraries.

Here is a list of the currently used callbacks:

Is called when the user wants to be "asked" about what to do with prerequisites. Should return a boolean indicating true to install the prerequisite and false to skip it.


Is called when the user should be prompted if he wishes to send the test report. Should return a boolean indicating true to send the test report and false to skip it.


Is called when the test report message has been composed, giving the user a chance to programatically alter it. Should return the (munged) message to be sent.


Is called when the user should be prompted to edit test reports about to be sent out by Test::Reporter. Should return a boolean indicating true to edit the test report in an editor and false to skip it.


Is called when ’make test’ or ’Build test’ fails. Should return a boolean indicating whether the install should continue even if the test failed.


Is called when the "CPANPLUS::Dist::*" metafile is created, like "control" for "CPANPLUS::Dist::Deb", giving the user a chance to programatically alter it. Should return the (munged) text to be written to the metafile.

$bool = $internals−>_add_to_includepath( directories => \@dirs )
Adds a list of directories to the include path. This means they get added to @INC as well as $ENV{PERL5LIB}.

Returns true on success, false on failure.

$id = CPANPLUS::Internals−>_last_id
Return the id of the last object stored.

$id = CPANPLUS::Internals−>_store_id( $internals )
Store this object; return its id.

$obj = CPANPLUS::Internals−>_retrieve_id( $ID )
Retrieve an object based on its ID -- return false on error.

CPANPLUS::Internals−>_remove_id( $ID )
Remove the object marked by $ID from storage.

@objs = CPANPLUS::Internals−>_return_all_objects
Return all stored objects.

More Linux Commands

wborder(3ncurses) - create curses borders, horizontal and ve
The border, wborder and box routines draw a box around the edges of a window. Other than the window, each argument is a character with attributes: ls - left sid

item_opts_on(3menu) - set and get menu item options.........
The function set_item_opts sets all the given items option bits (menu option bits may be logically-ORed together). The function item_opts_on turns on the given

casinhl(3) - complex arc sine hyperbolic - Linux man page...
The casinh() function calculates the complex arc hyperbolic sine of z. If y = casinh(z), then z = csinh(y). The imaginary part of y is chosen in the interval [-

XtAddWorkProc(3) - register input, timeout, and workprocs...
XtAddInput has been replaced by XtAppAddInput. XtAddTimeOut has been replaced by XtAppAddTimeOut. XtAddWorkProc has been replaced by XtAppAddWorkProc. SEE ALSO

perldoc(1) - Look up Perl documentation in Pod format.......
perldoc looks up a piece of documentation in .pod format that is embedded in the perl installation tree or in a perl script, and displays it via groff -man | $P

stderr(3) - standard I/O streams (Library - Linux man page)
Under normal circumstances every UNIX program has three streams opened for it when it starts up, one for input, one for output, and one for printing diagnostic

isalpha(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

sane-net(5) - SANE network backend - Linux manual page......
The sane-net library implements a SANE (Scanner Access Now Easy) backend that provides access to image acquisition devices through a network connection. This ma

glCopyConvolutionFilter1D(3gl) - copy pixels into a one-dime
glCopyConvolutionFilter1D defines a one-dimensional convolution filter kernel with pixels from the current GL_READ_BUFFER (rather than from main memory, as is t

mkfs.minix(8) - make a Minix filesystem - Linux manual page
mkfs.minix creates a Linux MINIX filesystem on a device (usually a disk partition). The device is usually of the following form: /dev/hda[1-8] (IDE disk 1) /dev

msgfmt(1) - compile message catalog to binary format........
Generate binary message catalog from textual translation description. Mandatory arguments to long options are mandatory for short options too. Similarly for opt

DefaultDepthOfScreen(3) - screen information functions and m
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified

We can't live, work or learn in freedom unless the software we use is free.