GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Devel::PatchPerl(3) User Contributed Perl Documentation Devel::PatchPerl(3)

Devel::PatchPerl - Patch perl source a la Devel::PPPort's buildperl.pl

version 2.08

  use strict;
  use warnings;

  use Devel::PatchPerl;

  Devel::PatchPerl->patch_source( '5.6.1', '/path/to/untarred/perl/source/perl-5.6.1' );

Devel::PatchPerl is a modularisation of the patching code contained in Devel::PPPort's "buildperl.pl".

It does not build perls, it merely provides an interface to the source patching functionality.

"patch_source"
Takes two parameters, a "perl" version and the path to unwrapped perl source for that version. It dies on any errors.

If you don't supply a "perl" version, it will attempt to auto-determine the "perl" version from the specified path.

If you don't supply the path to unwrapped perl source, it will assume the current working directory.

"determine_version"
Takes one optional parameter, the path to unwrapped perl source. It returns the perl version of the source code at the given location. It returns undef on error.

If you don't supply the path to unwrapped perl source, it will assume the current working directory.

See Devel::PatchPerl::Plugin for details of Devel::PatchPerl's plugin system.

Devel::PatchPerl will normally update the "patchlevel.h" file in the perl source tree to indicate that it has applied local patches. This behaviour is negated if it is detected that it is operating in a git repository. To override this and update "patchlevel.h" when in a Git repository, set the env var "PERL5_PATCHPERL_PATCHLEVEL" to a true value.

Alternatively, call "patchperl" with the "--patchlevel" option.

Devel::PatchPerl is intended only to facilitate the "building" of perls, not to facilitate the "testing" of perls. This means that it will not patch failing tests in the perl testsuite.

Devel::PPPort

Devel::PatchPerl::Plugin

Chris Williams <chris@bingosnet.co.uk>

This software is copyright (c) 2021 by Chris Williams and Marcus Holland-Moritz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2021-01-11 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.