ExtUtil...tallPAR(3)
β¨ ExtUtils::InstallPAR β the manual page, but make it cute β¨
okay so bestie, this is the page for ExtUtils::InstallPAR (perl module, section 3 of the manual, the User Contributed Perl Documentation corner of the world π). It's a lil' convenience wrapper and honestly? It's giving "I just want my .par to go into that perl, not this perl" energy. Let's go. π¦
πΈ NAME πΈ
ExtUtils::InstallPAR β install .par's into any installed perl π
π SYNOPSIS π
use ExtUtils::InstallPAR;
# Install into the currently running perl:
ExtUtils::InstallPAR::install(
par => './Foo-Bar-0.01-MSWin32-multi-thread-5.10.0.par',
);
# Install into a different perl on the system,
# this requires the ExtUtils::Infer module.
ExtUtils::InstallPAR::install(
par => './Foo-Bar-0.01-MSWin32-multi-thread-5.10.0.par',
perl => '/path/to/perl.exe',
);
# If LWP::Simple is available, it works with URLs, too:
ExtUtils::InstallPAR::install(
par => 'http://foo.com/Foo-Bar-0.01-MSWin32-multi-thread-5.10.0.par',
);
like. it's literally three lines of vibes and you're done. no cap. π
π DESCRIPTION π
So here's the tea, bestie β: this module installs PAR distributions (aka .par files) into any perl installation on the system.
Now, PAR::Dist? It's already iconic β it can install into the currently running perl by default, and it hands you all the parameters you'd need to override any installation directories. Slay. But here's the problem: figuring out how to actually use those overrides so you can install into some arbitrary other perl on your machine? That's lowkey beyond most users. π Not because they're not smart, just because it's a whole thing.
Enter this module: a convenience wrapper π«Ά. It uses ExtUtils::InferConfig to automatically figure out the typical site installation paths of any perl interpreter that the current user is actually able to execute. Automatic. Effortless. Main character energy. β¨
π₯ FUNCTIONS π₯
install
Install a PAR archive into any perl on the system. She takes named parameters, and here they are π
"par => '/path/to/foo.par'"or"par => 'http://URL/to/foo.par'"β this one says where the.parfile lives, or gives an URL to go fetch it from (that URL life only works ifLWP::Simpleis available). This parameter is mandatory, bestie. No par, no party. π«πperl => '/path/to/perl'β use this when you want to point at the specific perl interpreter to install into. If you just... don't include it, or you set it toundef, then the currently running perl becomes the target. And heads up: if you wanna install into different perls, you're gonna need theExtUtils::InferConfigmodule installed. That's the toll. πΈverbosity => $valueβ sets how chatty the installation process is. Defaults to1. So by default it's like a normal amount of yapping, not silent, not screaming. π£οΈ
π CAVEATS π
okay so this section is literally empty in the original. The heading is there and then... nothing. The silence. The void. We respect it. π
β SEE ALSO β
PARandPAR::Distβ for the gist on PAR distributions and archives. the OGs. πExtUtils::InferConfigβ for the details on how the installation paths actually get determined. the detective of the operation. π΅οΈExtUtils::Installβ this is what's used to install the files into the system. the muscle. πͺ"PAR::Dist"β this one can useLWP::Simpleto fetch from URLs. the delivery service. π¦
π«Ά AUTHOR π«Ά
Steffen Mueller, <smueller@cpan.org> β thank you for your service, king. π
π COPYRIGHT AND LICENSE π
Copyright (C) 2008 by Steffen Mueller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page, bestie!! π this manual page came to you from perl v5.42.0, dated 2025-07-25, and it was ExtUtil...tallPAR(3) all along (the header truncates it like that, we don't make the rules π
). go install some pars. periodt. β¨π¦πΈ
π¦ where this page comes from
- fedora 43: perl-ExtUtils-InstallPAR 0.03-47.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms