PMINST(1)
π PMINST(1) β the pminst glow-up π
okay bestie, so this is a page from the User Contributed Perl Documentation section, and honestly? it's giving "small tool, big main character energy." β¨
πΈ NAME πΈ
pminst β literally just find modules whose names match this pattern. that's it. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
pminst [-s] [-l] [pattern]
three little flags-ish things and a pattern, no cap. π«Ά
π DESCRIPTION π
so real talk: run it with no arguments and it shows you the names of, like, all the installed modules. every single one. icon behavior. π
give it a pattern and it shows you every module name that matches it. matching go brrr. π₯
then we got the flags:
-lβ shows the full pathname instead of just the module name. lowkey the most useful one ngl.-sβ separates the base directory from@INCfrom the module portion itself. it's giving "where did you even come from" energy. π
π EXAMPLES π
okay this is the fun part, gather round π§
just vibes, no filter:
$ pminst
(lists all installed modules)
now we're hunting for Carp:
$ pminst Carp
CGI::Carp
Carp
regex time bestie, anchor that thing to the start of IO:::
$ pminst ^IO::
IO::Socket::INET
IO::Socket::UNIX
IO::Select
IO::Socket
IO::Poll
IO::Handle
IO::Pipe
IO::Seekable
IO::Dir
IO::File
and now the iconic case-insensitive (?i)io moment β not me getting Pod::Functions in there too π:
$ pminst '(?i)io'
IO::Socket::INET
IO::Socket::UNIX
IO::Select
IO::Socket
IO::Poll
IO::Handle
IO::Pipe
IO::Seekable
IO::Dir
IO::File
IO
Pod::Functions
π the -s flag: directory separated by a space π
it literally says it right there β the -s flag provides output with the directory separated by a space. obsessed. π
$ pminst -s | sort +1
(lists all modules, sorted by name, but with where they
came from)
and here's the oldperl era serving vintage realness:
$ oldperl -S pminst -s IO
/usr/lib/perl5/i386-linux/5.00404 IO::File
/usr/lib/perl5/i386-linux/5.00404 IO::Handle
/usr/lib/perl5/i386-linux/5.00404 IO::Pipe
/usr/lib/perl5/i386-linux/5.00404 IO::Seekable
/usr/lib/perl5/i386-linux/5.00404 IO::Select
/usr/lib/perl5/i386-linux/5.00404 IO::Socket
/usr/lib/perl5/i386-linux/5.00404 IO
/usr/lib/perl5/site_perl LWP::IO
/usr/lib/perl5/site_perl LWP::TkIO
/usr/lib/perl5/site_perl Tk::HTML::IO
/usr/lib/perl5/site_perl Tk::IO
/usr/lib/perl5/site_perl IO::Stringy
/usr/lib/perl5/site_perl IO::Wrap
/usr/lib/perl5/site_perl IO::ScalarArray
/usr/lib/perl5/site_perl IO::Scalar
/usr/lib/perl5/site_perl IO::Lines
/usr/lib/perl5/site_perl IO::WrapTie
/usr/lib/perl5/site_perl IO::AtomicFile
π¦ the -l flag: full paths, periodt π¦
the -l flag gives full paths β look at these absolute units:
$ filsperl -S pminst -l Thread
/usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Queue.pm
/usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Semaphore.pm
/usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Signal.pm
/usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Specific.pm
/usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread.pm
π AUTHORS and COPYRIGHTS π
- Copyright (C) 1999 Tom Christiansen.
- Copyright (C) 2006-2014, 2018 Mark Leighton Fisher.
both legends, we stan. π«Ά
π LICENSE π
okay so this is free software β you can redistribute it and/or modify it under the terms of either:
- (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
- (b) the Perl "Artistic License".
(this is the Perl 5 licensing scheme.) π
β οΈ bestie please note: this is a change from the originalpmtools-1.00(still available on CPAN), aspmtools-1.00were licensed only under the Perl "Artistic License". so don't come for me, that's just what the page says π
and that's the whole page, bestie β no more, no less π β¨
signing off from perl v5.32.1, dated 2022-01-21 β this has been your girl, PMINST(1), out. π¦ππ
π¦ where this page comes from
- epel 9: perl-pmtools 2.2.0-14.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms