diff options
author | Steffen Mueller <smueller@cpan.org> | 2009-09-02 18:39:36 +0200 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2009-09-02 18:39:36 +0200 |
commit | e879c7c674245b9a876e1c4ba5181f88494ec4c8 (patch) | |
tree | 82bcd11aec64671fea745e2458e9314ed5981124 /lib/cacheout.pl | |
parent | 5170d013f8966f2522e650b38c113229d5649593 (diff) | |
download | perl-e879c7c674245b9a876e1c4ba5181f88494ec4c8.tar.gz |
Deprecate cacheout.pl with a warning
Diffstat (limited to 'lib/cacheout.pl')
-rw-r--r-- | lib/cacheout.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cacheout.pl b/lib/cacheout.pl index d2669a1cfa..789c9102c5 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 { |