From: Steffen Mueller Date: Wed, 2 Sep 2009 16:38:03 +0000 (+0200) Subject: Deprecate bigrat.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5170d013f8966f2522e650b38c113229d5649593;p=p5sagit%2Fp5-mst-13.2.git Deprecate bigrat.pl with a warning --- diff --git a/lib/bigrat.pl b/lib/bigrat.pl index 2d3738f..f5378b8 100644 --- a/lib/bigrat.pl +++ b/lib/bigrat.pl @@ -3,12 +3,18 @@ require "bigint.pl"; # # 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. # # Arbitrary size rational math package -# + +warn( "The 'bigrat.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " bigrat module instead." ); + # by Mark Biggar # # Input values to these routines consist of strings of the form