1Devel::PatchPerl(3) User Contributed Perl Documentation Devel::PatchPerl(3)
2
3
4
6 Devel::PatchPerl - Patch perl source a la Devel::PPPort's buildperl.pl
7
9 version 1.92
10
12 use strict;
13 use warnings;
14
15 use Devel::PatchPerl;
16
17 Devel::PatchPerl->patch_source( '5.6.1', '/path/to/untarred/perl/source/perl-5.6.1' );
18
20 Devel::PatchPerl is a modularisation of the patching code contained in
21 Devel::PPPort's "buildperl.pl".
22
23 It does not build perls, it merely provides an interface to the source
24 patching functionality.
25
27 "patch_source"
28 Takes two parameters, a "perl" version and the path to unwrapped
29 perl source for that version. It dies on any errors.
30
31 If you don't supply a "perl" version, it will attempt to auto-
32 determine the "perl" version from the specified path.
33
34 If you don't supply the path to unwrapped perl source, it will
35 assume the current working directory.
36
37 "determine_version"
38 Takes one optional parameter, the path to unwrapped perl source. It
39 returns the perl version of the source code at the given location.
40 It returns undef on error.
41
42 If you don't supply the path to unwrapped perl source, it will
43 assume the current working directory.
44
46 See Devel::PatchPerl::Plugin for details of Devel::PatchPerl's plugin
47 system.
48
50 Devel::PatchPerl is intended only to facilitate the "building" of
51 perls, not to facilitate the "testing" of perls. This means that it
52 will not patch failing tests in the perl testsuite.
53
55 Devel::PPPort
56
57 Devel::PatchPerl::Plugin
58
60 Chris Williams <chris@bingosnet.co.uk>
61
63 This software is copyright (c) 2020 by Chris Williams and Marcus
64 Holland-Moritz.
65
66 This is free software; you can redistribute it and/or modify it under
67 the same terms as the Perl 5 programming language system itself.
68
69
70
71perl v5.30.2 2020-04-28 Devel::PatchPerl(3)