summaryrefslogtreecommitdiff
path: root/lib/hostname.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostname.pl')
-rw-r--r--lib/hostname.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/hostname.pl b/lib/hostname.pl
index 5394c6ec69..63eea8fee4 100644
--- a/lib/hostname.pl
+++ b/lib/hostname.pl
@@ -1,5 +1,13 @@
# From: asherman@fmrco.com (Aaron Sherman)
-
+#
+# This library is no longer being maintained, and is included for backward
+# compatibility with Perl 4 programs which may require it.
+#
+# In particular, this should not be used as an example of modern Perl
+# programming techniques.
+#
+# Suggested alternative: Sys::Hostname
+#
sub hostname
{
local(*P,@tmp,$hostname,$_);