From: Steffen Mueller Date: Wed, 2 Sep 2009 16:34:53 +0000 (+0200) Subject: Deprecate bigfloat.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e1a0ca750b607647ced4c29bef199e9f731ecdf;p=p5sagit%2Fp5-mst-13.2.git Deprecate bigfloat.pl with a warning --- diff --git a/lib/bigfloat.pl b/lib/bigfloat.pl index 8c28abd..9f94e84 100644 --- a/lib/bigfloat.pl +++ b/lib/bigfloat.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. # # Suggested alternative: Math::BigFloat -# + +warn( "The 'bigfloat.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " Math::BigFloat module instead." ); + # Arbitrary length float math package # # by Mark Biggar