| 1 |
root |
1.1 |
NAME |
| 2 |
root |
1.2 |
Canary::Stability - canary to check perl compatibility for schmorp's |
| 3 |
|
|
modules |
| 4 |
root |
1.1 |
|
| 5 |
|
|
SYNOPSIS |
| 6 |
root |
1.2 |
# in Makefile.PL |
| 7 |
|
|
use Canary::Stability DISTNAME => 2001, MINIMUM_PERL_VERSION; |
| 8 |
root |
1.1 |
|
| 9 |
|
|
DESCRIPTION |
| 10 |
root |
1.2 |
This module is used by Schmorp's modules during configuration stage to |
| 11 |
|
|
test the installed perl for compatibility with his modules. |
| 12 |
|
|
|
| 13 |
|
|
It's not, at this stage, meant as a tool for other module authors, |
| 14 |
|
|
although in principle nothing prevents them from subscribing to the same |
| 15 |
|
|
ideas. |
| 16 |
|
|
|
| 17 |
|
|
See the Makefile.PL in Coro or AnyEvent for usage examples. |
| 18 |
|
|
|
| 19 |
|
|
ENVIRONMENT VARIABLES |
| 20 |
|
|
"PERL_CANARY_STABILITY_NOPROMPT=1" |
| 21 |
|
|
Do not prompt the user on alert messages. |
| 22 |
|
|
|
| 23 |
|
|
"PERL_CANARY_STABILITY_COLOUR=0" |
| 24 |
|
|
Disable use of colour. |
| 25 |
|
|
|
| 26 |
|
|
"PERL_CANARY_STABILITY_COLOUR=1" |
| 27 |
|
|
Force use of colour. |
| 28 |
|
|
|
| 29 |
|
|
"PERL_CANARY_STABILITY_DISABLE=1" |
| 30 |
|
|
Disable this modules functionality completely. |
| 31 |
root |
1.1 |
|
| 32 |
root |
1.4 |
"AUTOMATED_TESTING=1" |
| 33 |
|
|
When this variable is set to a true value and the perl minimum |
| 34 |
|
|
version requirement is not met, the module will exit, which should |
| 35 |
|
|
skip testing under automated testing environments. |
| 36 |
|
|
|
| 37 |
|
|
This is done to avoid false failure or success reports when the |
| 38 |
|
|
chances of success are already quite low and the failures are not |
| 39 |
|
|
supported by the author. |
| 40 |
|
|
|
| 41 |
root |
1.1 |
AUTHOR |
| 42 |
|
|
Marc Lehmann <schmorp@schmorp.de> |
| 43 |
root |
1.3 |
http://software.schmorp.de/pkg/Canary-Stability.html |
| 44 |
root |
1.1 |
|