diff options
author | Steffen Mueller <smueller@cpan.org> | 2010-04-05 15:15:38 +0200 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-04-05 09:19:55 -0400 |
commit | 870abcc9ec31b0ec6d369f95516616d679e92b99 (patch) | |
tree | 238245c4c806e9b69f015ba7b667bb440a32b748 /lib/stat.pl | |
parent | 5e1d1895f3110c06f0dcf8fe607e40631f462791 (diff) | |
download | perl-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/stat.pl')
-rw-r--r-- | lib/stat.pl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/stat.pl b/lib/stat.pl index a84b0accc4..4174d6007d 100644 --- a/lib/stat.pl +++ b/lib/stat.pl @@ -7,9 +7,6 @@ ;# $st_dev = @ary[$ST_DEV]; ;# -warn( "The 'stat.pl' legacy library is deprecated and will be" - . " removed in the next major release of perl." ); - $ST_DEV = 0 + $[; $ST_INO = 1 + $[; $ST_MODE = 2 + $[; |