From: Steffen Mueller Date: Wed, 2 Sep 2009 16:39:36 +0000 (+0200) Subject: Deprecate cacheout.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e879c7c674245b9a876e1c4ba5181f88494ec4c8;p=p5sagit%2Fp5-mst-13.2.git Deprecate cacheout.pl with a warning --- diff --git a/lib/cacheout.pl b/lib/cacheout.pl index d2669a1..789c910 100644 --- a/lib/cacheout.pl +++ b/lib/cacheout.pl @@ -1,12 +1,18 @@ # # This library is no longer being maintained, and is included for backward # compatibility with Perl 4 programs which may require it. +# This legacy library is deprecated and will be removed in a future +# release of perl. # # In particular, this should not be used as an example of modern Perl # programming techniques. # # Suggested alternative: FileCache +warn( "The 'cacheout.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " FileCache module instead." ); + # Open in their package. sub cacheout'open {