1B::PerlReq(3) User Contributed Perl Documentation B::PerlReq(3)
2
3
4
6 B::PerlReq - Perl compiler backend to extract Perl dependencies
7
9 perl -MO=PerlReq[,-strict][,-relaxed][,-v][,-d] prog.pl
10
12 B::PerlReq is a backend module for the Perl compiler that extracts
13 dependencies from Perl source code, based on the internal compiled
14 structure that Perl itself creates after parsing a program. The output
15 of B::PerlReq is suitable for automatic dependency tracking (e.g. for
16 RPM packaging).
17
19 -strict
20 Operate in strict mode. See perl.req for details.
21
22 -relaxed
23 Operate in relaxed mode. See perl.req for details.
24
25 -v, --verbose
26 Output extra information about the work being done.
27
28 -d, --debug
29 Enable debugging output (implies --verbose option).
30
32 Written by Alexey Tourbin <at@altlinux.org>.
33
35 Copyright (c) 2004, 2006 Alexey Tourbin, ALT Linux Team.
36
37 This is free software; you can redistribute it and/or modify it under
38 the terms of the GNU General Public License as published by the Free
39 Software Foundation; either version 2 of the License, or (at your
40 option) any later version.
41
43 B, B::Deparse, Module::Info, Module::ScanDeps, perl.req
44
45
46
47perl v5.36.0 2023-01-20 B::PerlReq(3)