summaryrefslogtreecommitdiff
path: root/lib/hostname.pl
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2010-04-05 15:15:38 +0200
committerJesse Vincent <jesse@bestpractical.com>2010-04-05 09:19:55 -0400
commit870abcc9ec31b0ec6d369f95516616d679e92b99 (patch)
tree238245c4c806e9b69f015ba7b667bb440a32b748 /lib/hostname.pl
parent5e1d1895f3110c06f0dcf8fe607e40631f462791 (diff)
downloadperl-870abcc9ec31b0ec6d369f95516616d679e92b99.tar.gz
Remove perl4-library deprecation warnings
After the recent, long discussion about this topic and demonstrated cases where the deprecation warnings may actually *break* things, we agreed on IRC to push the "active" deprecation warnings to after 5.12. --Steffen From f1b2d650aa126e06fc270dd0a44b8a6bf0da6e2c Mon Sep 17 00:00:00 2001 From: Steffen Mueller <smueller@cpan.org> Date: Mon, 5 Apr 2010 15:12:41 +0200 Subject: [PATCH] Remove deprecation warnings from perl4-era tools The libraries still have deprecation warnings in their comments but the mandatory run-time warnings are disabled until after 5.12.
Diffstat (limited to 'lib/hostname.pl')
-rw-r--r--lib/hostname.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/hostname.pl b/lib/hostname.pl
index cc37d49a33..33907c6cb7 100644
--- a/lib/hostname.pl
+++ b/lib/hostname.pl
@@ -10,10 +10,6 @@
#
# Suggested alternative: Sys::Hostname
-warn( "The 'hostname.pl' legacy library is deprecated and will be"
- . " removed in the next major release of perl. Please use the"
- . " Sys::Hostname module instead." );
-
sub hostname
{
local(*P,@tmp,$hostname,$_);