summaryrefslogtreecommitdiff
path: root/lib/abbrev.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/abbrev.pl')
-rw-r--r--lib/abbrev.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/abbrev.pl b/lib/abbrev.pl
index 673783ecdf..d46321f730 100644
--- a/lib/abbrev.pl
+++ b/lib/abbrev.pl
@@ -1,3 +1,5 @@
+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
+
;# Usage:
;# %foo = ();
;# &abbrev(*foo,LIST);