CPANINJECT(1p)
π CPANINJECT π
okay so bestie, welcome to cpaninject β a lil front-end app from the User Contributed Perl Documentation squad, and it does exactly one iconic thing: it injects a distribution for installation via the CPAN shell. no cap. π
β¨ NAME β¨
cpaninject β Inject a distribution for installation via the CPAN shell π¦
πΈ SYNOPSIS πΈ
# Add the distribution
cpaninject myperlmodule.tar.gz
# And then install it from the cpan shell
cpan> install LOCAL/myperlmodule.tar.gz
like, that's it. two steps. we love a low-effort slay. π
π« DESCRIPTION π«
cpaninject is a small front-end application for the CPAN::Inject module. it's giving "tiny wrapper, big energy". β¨
It takes any arbitrary Perl distribution tarball (open source or otherwise, no judgement, we don't ask questions π«Ά) and injects it into the local CPAN file cache, smoothing some metadata files to make it look as if it came from CPAN. gaslight gatekeep girlboss, but for metadata. π
It makes use the officially blessed "Reserved Local CPAN Author" id LOCAL as the author the distributions are added under. that's the vibe check it passes. π
To use the program, just run cpaninject mytarball.tar.gz to add it, then the CPAN shell to install it (with full automatic recursive dependency installation). π₯
The key here being the recursive dependency installation, which you are now able to do even for installing non-CPAN modules. that part is literally the main character of this whole manpage, ngl.
This simplifies the installation process a little, and makes things easier on someone that just wants to install a single commercial or non-CPAN Perl module that might have a dozen or more CPAN dependencies. like, a dozen-plus dependencies? she said "handled" π β¨
π SUPPORT π
All bugs should be filed via the bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Inject
For other issues, or commercial enhancement and support, contact the author π
π AUTHOR π
Adam Kennedy <adamk@cpan.org> π
π SEE ALSO π
CPAN::Mini::Inject
π COPYRIGHT π
Copyright 2006 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. π
The full text of the license can be found in the LICENSE file included with this module.
ok that's the whole page bestie, go forth and inject responsibly π§π
perl v5.32.0 Β· 2021-01-07 Β· CPANINJECT(1p) β that's the source, version and date tucked into the cutest lil sign-off i could manage. mwah. π πΈ
π¦ where this page comes from
- debian bookworm: libcpan-inject-perl 1.14-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcpan-inject-perl 1.14-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libcpan-inject-perl 1.14-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcpan-inject-perl 1.14-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms