diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 05:44:20 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 05:44:20 +0000 |
commit | 34d09196f6a006314d7ea49a091a30ce5ee08bff (patch) | |
tree | b65cd7762db1fdf88369274697efeec8fd03d22c /t/pragma/warn | |
parent | e28598cb7aa92733a853cea0cf64bb1d19ec6745 (diff) | |
download | perl-34d09196f6a006314d7ea49a091a30ce5ee08bff.tar.gz |
rename "Probable precendence problem" diagnostic to "Bareword found
in conditional" to better reflect the class of error (as suggested
by Larry)
p4raw-id: //depot/perl@5131
Diffstat (limited to 't/pragma/warn')
-rw-r--r-- | t/pragma/warn/op | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/pragma/warn/op b/t/pragma/warn/op index 9a278effe9..9fd418e5bc 100644 --- a/t/pragma/warn/op +++ b/t/pragma/warn/op @@ -58,7 +58,7 @@ Parentheses missing around "local" list at -e line 1. local $a, $b = (1,2); - Probable precedence problem on logical or at -e line 1. + Bareword found in conditional at -e line 1. use warnings 'syntax'; my $x = print(ABC || 1); Value of %s may be \"0\"; use \"defined\" @@ -627,7 +627,7 @@ print (ABC || 1) ; no warnings 'syntax' ; print (ABC || 1) ; EXPECT -Probable precedence problem on logical or (||) at - line 3. +Bareword found in conditional at - line 3. ######## --FILE-- abc |