PERL.PROV(1)

πŸ“¦
version 0.82 Β· 2 versions
, in fedora 43

πŸ’– 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