1PMINST(1) User Contributed Perl Documentation PMINST(1)
2
3
4
6 pminst - find modules whose names match this pattern
7
9 pminst [-s] [-l] [pattern]
10
12 Without arguments, show the names of all installed modules. Given a
13 pattern, show all module names that match it. The -l flag will show
14 the full pathname. The -s flag will separate the base directory from
15 @INC from the module portion itself.
16
18 $ pminst
19 (lists all installed modules)
20
21 $ pminst Carp
22 CGI::Carp
23 Carp
24
25 $ pminst ^IO::
26 IO::Socket::INET
27 IO::Socket::UNIX
28 IO::Select
29 IO::Socket
30 IO::Poll
31 IO::Handle
32 IO::Pipe
33 IO::Seekable
34 IO::Dir
35 IO::File
36
37 $ pminst '(?i)io'
38 IO::Socket::INET
39 IO::Socket::UNIX
40 IO::Select
41 IO::Socket
42 IO::Poll
43 IO::Handle
44 IO::Pipe
45 IO::Seekable
46 IO::Dir
47 IO::File
48 IO
49 Pod::Functions
50
51 The -s flag provides output with the directory separated
52 by a space:
53
54 $ pminst -s | sort +1
55 (lists all modules, sorted by name, but with where they
56 came from)
57
58 $ oldperl -S pminst -s IO
59 /usr/lib/perl5/i386-linux/5.00404 IO::File
60 /usr/lib/perl5/i386-linux/5.00404 IO::Handle
61 /usr/lib/perl5/i386-linux/5.00404 IO::Pipe
62 /usr/lib/perl5/i386-linux/5.00404 IO::Seekable
63 /usr/lib/perl5/i386-linux/5.00404 IO::Select
64 /usr/lib/perl5/i386-linux/5.00404 IO::Socket
65 /usr/lib/perl5/i386-linux/5.00404 IO
66 /usr/lib/perl5/site_perl LWP::IO
67 /usr/lib/perl5/site_perl LWP::TkIO
68 /usr/lib/perl5/site_perl Tk::HTML::IO
69 /usr/lib/perl5/site_perl Tk::IO
70 /usr/lib/perl5/site_perl IO::Stringy
71 /usr/lib/perl5/site_perl IO::Wrap
72 /usr/lib/perl5/site_perl IO::ScalarArray
73 /usr/lib/perl5/site_perl IO::Scalar
74 /usr/lib/perl5/site_perl IO::Lines
75 /usr/lib/perl5/site_perl IO::WrapTie
76 /usr/lib/perl5/site_perl IO::AtomicFile
77
78 The -l flag gives full paths:
79
80 $ filsperl -S pminst -l Thread
81 /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Queue.pm
82 /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Semaphore.pm
83 /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Signal.pm
84 /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread/Specific.pm
85 /usr/local/filsperl/lib/5.00554/i686-linux-thread/Thread.pm
86
88 Copyright (C) 1999 Tom Christiansen.
89
90 Copyright (C) 2006-2014, 2018 Mark Leighton Fisher.
91
93 This is free software; you can redistribute it and/or modify it under
94 the terms of either: (a) the GNU General Public License as published by
95 the Free Software Foundation; either version 1, or (at your option) any
96 later version, or (b) the Perl "Artistic License". (This is the Perl 5
97 licensing scheme.)
98
99 Please note this is a change from the original pmtools-1.00 (still
100 available on CPAN), as pmtools-1.00 were licensed only under the Perl
101 "Artistic License".
102
103
104
105perl v5.34.0 2021-07-23 PMINST(1)