summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/lib/hostname.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/lib/hostname.pl')
-rw-r--r--contrib/perl5/lib/hostname.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/perl5/lib/hostname.pl b/contrib/perl5/lib/hostname.pl
index 5394c6e..63eea8f 100644
--- a/contrib/perl5/lib/hostname.pl
+++ b/contrib/perl5/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,$_);
OpenPOWER on IntegriCloud