summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bigint.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/bigint.pl b/lib/bigint.pl
index bd1d91f822..a31bfec82b 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