summaryrefslogtreecommitdiff
path: root/lib/bigint.pl
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2009-09-02 18:36:27 +0200
committerSteffen Mueller <smueller@cpan.org>2009-09-02 18:36:27 +0200
commitb6dbc3e0ec9ac191121eb4b6a15bc5016fb999b6 (patch)
tree2cf3a21c036cde05e18432027d280d97674b53a1 /lib/bigint.pl
parent8e1a0ca750b607647ced4c29bef199e9f731ecdf (diff)
downloadperl-b6dbc3e0ec9ac191121eb4b6a15bc5016fb999b6.tar.gz
Deprecate bigint.pl with a warning
Diffstat (limited to 'lib/bigint.pl')
-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