PERL.PROV(1)
π PERL.PROV(1) β the perl.prov bestie manual π
okay so bestie, welcome to perl.prov, part of the User Contributed Perl Documentation family β¨ this one's a little script with big main character energy and honestly? it eats.
πΈ NAME πΈ
perl.prov β literally just lists what your Perl source files provide π
β¨ SYNOPSIS β¨
perl.prov [-v|--verbose] [FILE...]
π¦ DESCRIPTION π¦
So here's the vibe: this script calculates a conventional name for every Perl source file you hand it on the command line β and it figures that name out based on where the file lives relative to the standard Perl library paths π
No files on the command line? No problem, bestie β it'll grab a list of files from standard input instead, one file per line π«Ά
Which files get processed, you ask? The *.pm, *.pl, and *.ph girlies β¨ and heads up: the *.pm files also suffer version extraction π (their words, not mine, but honestly iconic).
The output? Chef's kiss. It's suitable for automatic dependency tracking β think RPM packaging, iykyk π¦
For example, /usr/lib/perl5/i386-linux/DB_File.pm provides:
perl(DB_File.pm) = 1.810
(as of perl-5.8.6, no cap β)
And for the lore: perl.prov is a counterpart of perl.req β they're giving duo energy π
π OPTIONS π
-v,--verboseβ increases verbosity, so the script spills more tea about what it's doing π
π ENVIRONMENT π
okay so this one's not its own section in the original but it lives in OPTIONS and it MATTERS so here we are π§
The RPM_PERL_LIB_PATH environment variable β if you set it β must contain a list of paths, separated by colons π These paths get treated as library paths used to determine the relative names of provided Perl files, and they come in addition to the paths from the @INC variable β¨
fr fr, colon-separated. don't forget the colons bestie π
π AUTHOR π
Written by Alexey Tourbin <at@altlinux.org>, based on an earlier version by Ken Estes <kestes@staff.mail.com>, with contributions from Mikhail Zabaluev <mhz@altlinux.org>. legends only, we stan π
π COPYING π
Copyright (c) 2003, 2004, 2006, 2007, 2008 Alexey Tourbin, ALT Linux Team.
This is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version π
π₯ SEE ALSO π₯
perl.reqβ the other half of the duo, go say hi π«Ά
and that's the whole page bestie!! this one's from perl v5.42.0, dated 2025-07-25 β PERL.PROV(1), slay π β¨
π¦ where this page comes from
- fedora 43: perl-rpm-build-perl-scripts 0.82-50.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms