summaryrefslogtreecommitdiff
path: root/lib/shellwords.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/shellwords.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/shellwords.pl')
-rw-r--r--lib/shellwords.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/shellwords.pl b/lib/shellwords.pl
index 1c2c894794..b24ce963ad 100644
--- a/lib/shellwords.pl
+++ b/lib/shellwords.pl
@@ -11,10 +11,6 @@
;# or
;# @words = shellwords(); # defaults to $_ (and clobbers it)
-warn( "The 'shellwords.pl' legacy library is deprecated and will be"
- . " removed in the next major release of perl. Please use the"
- . " Text::ParseWords module instead." );
-
require Text::ParseWords;
*shellwords = \&Text::ParseWords::old_shellwords;