inc::Module::Install(3pm) User Contributed Perl Documentation inc::Module::Install(3pm)NAME
inc::Module::Install - Module::Install configuration system
SYNOPSIS
use inc::Module::Install;
DESCRIPTION
This module first checks whether the inc/.author directory exists, and removes the whole inc/ directory if it does, so the module author
always get a fresh inc every time they run Makefile.PL. Next, it unshifts "inc" into @INC, then loads Module::Install from there.
Below is an explanation of the reason for using a loader module:
The original implementation of CPAN::MakeMaker introduces subtle problems for distributions ending with "CPAN" (e.g. CPAN.pm,
WAIT::Format::CPAN), because its placement in ./CPAN/ duplicates the real libraries that will get installed; also, the directory name
./CPAN/ may confuse users.
On the other hand, putting included, for-build-time-only libraries in ./inc/ is a normal practice, and there is little chance that a CPAN
distribution will be called "Something::inc", so it's much safer to use.
Also, it allows for other helper modules like Module::AutoInstall to reside also in inc/, and to make use of them.
AUTHORS
Audrey Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2003, 2004 Audrey Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.14.2 2012-03-01 inc::Module::Install(3pm)
Check Out this Related Man Page
Module::Install::Base(3) User Contributed Perl Documentation Module::Install::Base(3)NAME
Module::Install::Base - Base class for Module::Install extensions
SYNOPSIS
In a Module::Install extension:
use Module::Install::Base ();
@ISA = qw(Module::Install::Base);
DESCRIPTION
This module provide essential methods for all Module::Install extensions, in particular the common constructor "new" and method dispatcher
"AUTOLOAD".
METHODS
new(%args)
Constructor -- need to preserve at least _top
AUTOLOAD
The main dispatcher - copy extensions if missing
_top()
Returns the top-level Module::Install object.
admin()
Returns the "_top" object's associated Module::Install::Admin object on the first run (i.e. when there was no inc/ when the program
started); on subsequent (user-side) runs, returns a fake admin object with an empty "AUTOLOAD" method that does nothing at all.
is_admin()
Tells whether this is the first run of the installer (on author's side). That is when there was no inc/ at program start. True if
that's the case. False, otherwise.
SEE ALSO
Module::Install
AUTHORS
Audrey Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2003, 2004 by Audrey Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.16.3 2012-03-01 Module::Install::Base(3)
I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? " answered "no". CPAN install seemed to find... (1 Reply)
Hi friends,
I am not sure if perl questions can be raised here. :rolleyes:
But I have a doubt if there is a way to do "#define" in perl, like in C.
Does anyone know if it is feasible (without CPAN modules)?
Thanks,
Srini (7 Replies)
Hi,
I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this?
Thanks,
Js (1 Reply)
Hi,
I'm trying to install "Date-FromToday" module on my solaris box as below.
#perl Makefile.pl (i got the below error)
Can't locate inc/Module/Install.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int... (3 Replies)
Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error?
problem is:
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz
OS unsupported
Warning: No success on command
Warning (usually harmless):... (1 Reply)