From: Steffen Mueller Date: Wed, 2 Sep 2009 16:36:27 +0000 (+0200) Subject: Deprecate bigint.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b6dbc3e0ec9ac191121eb4b6a15bc5016fb999b6;p=p5sagit%2Fp5-mst-13.2.git Deprecate bigint.pl with a warning --- diff --git a/lib/bigint.pl b/lib/bigint.pl index bd1d91f..a31bfec 100644 --- a/lib/bigint.pl +++ b/lib/bigint.pl @@ -5,9 +5,15 @@ package bigint; # # In particular, this should not be used as an example of modern Perl # programming techniques. +# This legacy library is deprecated and will be removed in a future +# release of perl. # # Suggested alternative: Math::BigInt -# + +warn( "The 'bigint.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " Math::BigInt module instead." ); + # arbitrary size integer math package # # by Mark Biggar