--- Canary-Stability/Stability.pm 2015/06/04 16:18:26 1.2 +++ Canary-Stability/Stability.pm 2015/06/27 17:00:20 1.6 @@ -1,28 +1,33 @@ =head1 NAME -Canary::Stability - to be done +Canary::Stability - canary to check perl compatibility for schmorp's modules =head1 SYNOPSIS - use Canary::Stability; + # in Makefile.PL + use Canary::Stability DISTNAME => 2001, MINIMUM_PERL_VERSION; =head1 DESCRIPTION -This is just a placeholder module, to be filled in later. +This module is used by Schmorp's modules during configuration stage to +test the installed perl for compatibility with his modules. -=over 4 +It's not, at this stage, meant as a tool for other module authors, +although in principle nothing prevents them from subscribing to the same +ideas. + +See the F in L or L for usage examples. =cut package Canary::Stability; BEGIN { - $VERSION = 2001; # the year perl was accomodating enough to developers to foster weird ideas such as Coro + $VERSION = 2006; } sub sgr { # we just assume ANSI almost everywhere - # red 31, yellow 33, green 32 $ENV{PERL_CANARY_STABILITY_COLOUR} ne 0 @@ -43,7 +48,7 @@ print < - http://home.schmorp.de/ + http://software.schmorp.de/pkg/Canary-Stability.html =cut