Canary-Stability-2006/0000755000000000000000000000000012543553236013330 5ustar rootrootCanary-Stability-2006/Makefile.PL0000644000000000000000000000047512533606063015304 0ustar rootrootuse ExtUtils::MakeMaker; WriteMakefile( dist => { PREOP => 'pod2text Stability.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', COMPRESS => 'gzip -9v', SUFFIX => '.gz', }, NAME => "Canary::Stability", VERSION_FROM => "Stability.pm", ); Canary-Stability-2006/META.yml0000644000000000000000000000067212543553236014606 0ustar rootroot--- abstract: unknown author: - unknown build_requires: ExtUtils::MakeMaker: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Canary-Stability no_index: directory: - t - inc requires: {} version: '2006' Canary-Stability-2006/Changes0000644000000000000000000000104712543552636014630 0ustar rootrootRevision history for Perl extension Canary::Stability 2006 Tue Jan 31 01:00:00 UTC 2006 - the year when things were in good shape still. - the compatibility version test for 5.22 was wrong and errornously takes 5.20.1+ as unsupported. - fix urls. 2001 Tue Jul 3 02:18:41 CEST 2001 - the year where perl was still accomodating enough to inspire module authors to do cool stuff, as opposed to abusing policy to stifle criticism. 1996 Wed Jun 5 09:34:41 GFT 1996 - ariane 5 destructed due to a software error. Canary-Stability-2006/META.json0000644000000000000000000000143412543553236014753 0ustar rootroot{ "abstract" : "unknown", "author" : [ "unknown" ], "dynamic_config" : 1, "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001", "license" : [ "unknown" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : "2" }, "name" : "Canary-Stability", "no_index" : { "directory" : [ "t", "inc" ] }, "prereqs" : { "build" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "runtime" : { "requires" : {} } }, "release_status" : "stable", "version" : "2006" } Canary-Stability-2006/COPYING0000644000000000000000000000007611664557732014376 0ustar rootrootThis module is licensed under the same terms as perl itself. Canary-Stability-2006/README0000644000000000000000000000176612543553236014222 0ustar rootrootNAME Canary::Stability - canary to check perl compatibility for schmorp's modules SYNOPSIS # in Makefile.PL use Canary::Stability DISTNAME => 2001, MINIMUM_PERL_VERSION; DESCRIPTION This module is used by Schmorp's modules during configuration stage to test the installed perl for compatibility with his modules. 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 Makefile.PL in Coro or AnyEvent for usage examples. ENVIRONMENT VARIABLES "PERL_CANARY_STABILITY_NOPROMPT=1" Do not prompt the user on alert messages. "PERL_CANARY_STABILITY_COLOUR=0" Disable use of colour. "PERL_CANARY_STABILITY_COLOUR=1" Force use of colour. "PERL_CANARY_STABILITY_DISABLE=1" Disable this modules functionality completely. AUTHOR Marc Lehmann http://software.schmorp.de/pkg/Canary-Stability.html Canary-Stability-2006/Stability.pm0000644000000000000000000001210612543553015015625 0ustar rootroot=head1 NAME Canary::Stability - canary to check perl compatibility for schmorp's modules =head1 SYNOPSIS # in Makefile.PL use Canary::Stability DISTNAME => 2001, MINIMUM_PERL_VERSION; =head1 DESCRIPTION This module is used by Schmorp's modules during configuration stage to test the installed perl for compatibility with his modules. 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 = 2006; } sub sgr { # we just assume ANSI almost everywhere # red 31, yellow 33, green 32 $ENV{PERL_CANARY_STABILITY_COLOUR} ne 0 and ((-t STDOUT and length $ENV{TERM}) or $ENV{PERL_CANARY_STABILITY_COLOUR}) and print "\e[$_[0]m"; } sub import { my (undef, $distname, $minvers, $minperl) = @_; $ENV{PERL_CANARY_STABILITY_DISABLE} and return; $minperl ||= 5.008002; if ($minvers > $VERSION) { sgr 33; print < Do not prompt the user on alert messages. =item C Disable use of colour. =item C Force use of colour. =item C Disable this modules functionality completely. =back =head1 AUTHOR Marc Lehmann http://software.schmorp.de/pkg/Canary-Stability.html =cut 1 Canary-Stability-2006/MANIFEST0000644000000000000000000000034112543553236014457 0ustar rootrootREADME Changes MANIFEST COPYING Makefile.PL Stability.pm META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker)