summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/finddepth.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/finddepth.pl')
-rw-r--r--Master/tlpkg/tlperl/lib/finddepth.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/finddepth.pl b/Master/tlpkg/tlperl/lib/finddepth.pl
index 331247ae29d..479905f6f8b 100644
--- a/Master/tlpkg/tlperl/lib/finddepth.pl
+++ b/Master/tlpkg/tlperl/lib/finddepth.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";
+
# This library is deprecated and unmaintained. It is included for
# compatibility with Perl 4 scripts which may use it, but it will be
# removed in a future version of Perl. Please use the File::Find module