PMPATH(1p)
π PMPATH β it's giving "where does this module even live" β¨
okay bestie, listen. this is pmpath, a lil user-contributed Perl helper (yes it's the 1p manual, the p is for perl, we love her) and she does exactly ONE thing but she does it flawlessly. no notes. π
πΈ NAME πΈ
pmpath β show the full path to a perl module. that's it. that's the whole job. and she ATE. π
π SYNOPSIS π
pmpath module ...
β¨ DESCRIPTION β¨
so here's the vibe: you hand pmpath a bunch of module names as arguments, and for each one she prints the module's full path to standard output. one path per line, no chaos, no clutter. clean. immaculate. π¦
π EXAMPLES π
lowkey the best part, fr fr:
$ pmpath CGI
/usr/local/devperl/lib/5.00554/CGI.pm
okay so there she is, just living her life in that lib directory. β¨
$ filsperl -S pmpath IO::Socket CGI::Carp
/usr/local/filsperl/lib/5.00554/i686-linux-thread/IO/Socket.pm
/usr/local/filsperl/lib/5.00554/CGI/Carp.pm
not the -S flag finding the script for you π iconic behaviour honestly. and yes, nested module names get nested directories, as they should.
$ oldperl -S pmpath CGI CGI::Imagemap
/usr/lib/perl5/CGI.pm
/usr/lib/perl5/site_perl/CGI/Imagemap.pm
two modules, two paths, one slay. notice how CGI::Imagemap lands in site_perl while CGI is chilling in perl5 β the search path knows things we don't. π«Ά
π SEE ALSO π
sister modules, all in the same friend group:
π AUTHORS and COPYRIGHTS π
Copyright (C) 1999 Tom Christiansen.
Copyright (C) 2006-2014 Mark Leighton Fisher.
give them their flowers, they earned them. π
π LICENSE π
This is free software; you can redistribute it and/or modify it under the terms of either:
- the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
- the Perl "Artistic License".
(This is the Perl 5 licensing scheme.)
β οΈ heads up bestie, this is a change from the original pmtools-1.00 (still available on CPAN), because pmtools-1.00 was licensed only under the Perl "Artistic License". so like, glow-up era. π§
and that's the whole page! this was brought to you by perl v5.36.0, dated 2022-10-14, filed under PMPATH(1p) in the user contributed perl documentation section. k byeeee ππβ¨ππ¦
π¦ where this page comes from
- ubuntu noble: pmtools 2.2.0-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: pmtools 2.2.0-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms