summaryrefslogtreecommitdiff
path: root/lib/getopts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getopts.pl')
-rw-r--r--lib/getopts.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getopts.pl b/lib/getopts.pl
index 928bb225a8..37ecb4aaa4 100644
--- a/lib/getopts.pl
+++ b/lib/getopts.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";
+
;# getopts.pl - a better getopt.pl
#
# This library is no longer being maintained, and is included for backward