1CPANINJECT(1) User Contributed Perl Documentation CPANINJECT(1)
2
3
4
6 cpaninject - Inject a distribution for installation via the CPAN shell
7
9 # Add the distribution
10 cpaninject myperlmodule.tar.gz
11
12 # And then install it from the cpan shell
13 cpan> install LOCAL/myperlmodule.tar.gz
14
16 cpaninject is a small front-end application for the CPAN::Inject
17 module.
18
19 It takes any arbitrary Perl distribution tarball (open source or
20 otherwise) and injects it into the local CPAN file cache, smoothing
21 some metadata files to make it look as if it came from CPAN.
22
23 It makes use the officially blessed "Reserved Local CPAN Author" id
24 "LOCAL" as the author the distributions are added under.
25
26 To use the program, just run cpaninject mytarball.tar.gz to add it,
27 then the CPAN shell to install it (with full automatic recursive
28 dependency installation).
29
30 The key here being the recursive dependency installation, which you are
31 now able to do even for installing non-CPAN modules.
32
33 This simplifies the installation process a little, and makes things
34 easier on someone that just wants to install a single commercial or
35 non-CPAN Perl module that might have a dozen or more CPAN dependencies.
36
38 All bugs should be filed via the bug tracker at
39
40 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Inject>
41
42 For other issues, or commercial enhancement and support, contact the
43 author
44
46 Adam Kennedy <adamk@cpan.org>
47
49 CPAN::Mini::Inject
50
52 Copyright 2006 - 2011 Adam Kennedy.
53
54 This program is free software; you can redistribute it and/or modify it
55 under the same terms as Perl itself.
56
57 The full text of the license can be found in the LICENSE file included
58 with this module.
59
60
61
62perl v5.36.0 2023-01-20 CPANINJECT(1)