perl.prov (1) - Linux Manuals

perl.prov: list what Perl source files provide


perl.prov - list what Perl source files provide


perl.prov [-v|--verbose] [FILE...]


This script calculates conventional name for each Perl source file specified on a command line, based on its location relative to standard Perl library paths; alternatively, a list of files is obtained from standard input, one file per line. *.pm, *.pl, and *.ph files are processed (*.pm files also suffer version extraction). The output of perl.prov is suitable for automatic dependency tracking (e.g. for RPM packaging).

For example, /usr/lib/perl5/i386-linux/ provides "perl( = 1.810" (as of perl-5.8.6).

perl.prov is a counterpart of perl.req.


-v, --verbose
Increase verbosity.

The RPM_PERL_LIB_PATH environment variable, if set, must contain the list of paths, separated by colons. These paths are considered as library paths used to determine relative names of provided perl files (in addition to paths from @INC variable).


Written by Alexey Tourbin <at [at]>, based on an earlier version by Ken Estes <kestes [at]>, with contributions from Mikhail Zabaluev <mhz [at]>.


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.