1Perl::PrereqScanner::ScUasnenrerC:o:nPterrilb5u(t3e)d PePrelrlD:o:cPurmeernetqaStciaonnner::Scanner::Perl5(3)
2
3
4
6 Perl::PrereqScanner::Scanner::Perl5 - scan for core Perl 5 language
7 indicators of required modules
8
10 version 1.024
11
13 This scanner will look for the following indicators:
14
15 • plain lines beginning with "use", "require", or "no" in your perl
16 modules and scripts, including minimum perl version
17
18 • regular inheritance declared with the "base" and "parent" pragmata
19
20 Since Perl does not allow you to supply a version requirement with a
21 "require" statement, the scanner will check the statement after the
22 "require Module" to see if it is "Module->VERSION( minimum_version );".
23
24 In order to provide a minimum version, that method call must meet the
25 following requirements:
26
27 • it must be the very next statement after "require Module". Nothing
28 can separate them but whitespace and comments (and one semicolon).
29
30 • "Module" must be a bareword, and match the "require" exactly.
31
32 • "minimum_version" must be a literal number, v-string, or single-
33 quoted string. Double quotes are not allowed.
34
36 This library should run on perls released even a long time ago. It
37 should work on any version of perl released in the last five years.
38
39 Although it may work on older versions of perl, no guarantee is made
40 that the minimum required version will not be increased. The version
41 may be increased for any reason, and there is no promise that patches
42 will be accepted to lower the minimum required perl.
43
45 • Jerome Quelin
46
47 • Ricardo Signes <rjbs@semiotic.systems>
48
50 This software is copyright (c) 2009 by Jerome Quelin.
51
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.36.0 2022-07P-e2r2l::PrereqScanner::Scanner::Perl5(3)