26 Mar 2011 17:02:32 UTC
- Distribution: Perl-Repository-APC
- Module version: 1.294
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (256 / 239 / 0)
- KwaliteeBus factor: 1
- 7.78% Coverage
- License: perl_5
- Download (163.33KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Perl::Repository::APC::BAP - Transform the argument to buildaperl
use Perl::Repository::APC::BAP; my $apc = Perl::Repository::APC->new("/path/to/APC"); my $bap = Perl::Repository::APC::BAP->new($apc); my($baseperl,$nextperl,$firstpatch,$lastpatch,$dir) = $bap->translate("perl",...);
The constructor new() takes a single argument, a Perl::Repository::APC object. The resulting object has the following methods:
$branch is one of
maint-5.8. $baseperl is the perl version we want as a base. $patchlevel is a patch number that must also be available in the local copy of APC.
$branch is a mandatory argument. $baseperl may be undef and $patchlevel can be omitted. If $baseperl is undef and $patchlevel is given, translate() finds the proper version. If patch is omitted and $baseperl is given, translate() finds the most recent patch for that base. If both are omitted, translate() finds the newest values available for both version and patch for that branch. If both are given, translate() checks if the values are legal and dies if they aren't.
Five values are returned: the perl version we can use as a base, the "next" perl version that this patchset is running to, the first and the last patch number we want, and finally the directory where we find the patches. The directory was the same as the target perl version up to 5.8.0 but started to diverge from 5.8.1 and later. Please see bap.t for examples. Starting from 5.10.1. the directory may be one of these
livingdirectories that match
^perl-.*-diffs$. These directories do not contain a subdirectory
diffs. Instead they contain the patches directly.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Perl::Repository::APC, patchaperlup, buildaperl, binsearchaperl
Module Install Instructions
To install Perl::Repository::APC, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Perl::Repository::APC
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|