… | |
… | |
21 | =cut |
21 | =cut |
22 | |
22 | |
23 | package Canary::Stability; |
23 | package Canary::Stability; |
24 | |
24 | |
25 | BEGIN { |
25 | BEGIN { |
26 | $VERSION = 2011; |
26 | $VERSION = 2012; |
27 | } |
27 | } |
28 | |
28 | |
29 | sub sgr { |
29 | sub sgr { |
30 | # we just assume ANSI almost everywhere |
30 | # we just assume ANSI almost everywhere |
31 | # red 31, yellow 33, green 32 |
31 | # red 31, yellow 33, green 32 |
… | |
… | |
42 | $ENV{PERL_CANARY_STABILITY_DISABLE} |
42 | $ENV{PERL_CANARY_STABILITY_DISABLE} |
43 | and return; |
43 | and return; |
44 | |
44 | |
45 | $minperl ||= 5.008002; |
45 | $minperl ||= 5.008002; |
46 | |
46 | |
47 | sgr 33; |
|
|
48 | print <<EOF; |
47 | print <<EOF; |
49 | |
48 | |
50 | *** |
49 | *** |
51 | *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK |
50 | *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK |
52 | *** ================================================= |
51 | *** ================================================= |