diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-02 07:53:51 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-02 07:53:51 +0000 |
commit | db376a245d40f9f81e37632708a9ad2cfc67ef6a (patch) | |
tree | 8c6efaa9d96c8eab8c80c68fe4e15d92aec8f7b4 /lib/Text | |
parent | 65e1a3a11dd767e7393f37a7bd811ce587d64985 (diff) | |
download | perl-db376a245d40f9f81e37632708a9ad2cfc67ef6a.tar.gz |
use warnings rather than fiddling with $^W (from Paul Marquess)
p4raw-id: //depot/perl@4954
Diffstat (limited to 'lib/Text')
-rw-r--r-- | lib/Text/ParseWords.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Text/ParseWords.pm b/lib/Text/ParseWords.pm index ada9d70d74..2a6afc3be9 100644 --- a/lib/Text/ParseWords.pm +++ b/lib/Text/ParseWords.pm @@ -49,7 +49,7 @@ sub nested_quotewords { sub parse_line { # We will be testing undef strings - local($^W) = 0; + no warnings; my($delimiter, $keep, $line) = @_; my($quote, $quoted, $unquoted, $delim, $word, @pieces); |