summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-04 02:38:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-04 02:38:34 +0000
commitf10b034643f35a8ac5fe5ed0513218d385884cbb (patch)
tree573efda8d4fcb6b22f81988b692538e7f9b02718 /t
parent2d63fa086243e29dbf185b28986d9a77e353a33c (diff)
downloadperl-f10b034643f35a8ac5fe5ed0513218d385884cbb.tar.gz
remove misleading info on defined(&func), unclutter deprecation
about defined(@array) p4raw-id: //depot/perl@3567
Diffstat (limited to 't')
-rw-r--r--t/pragma/warn/op14
1 files changed, 7 insertions, 7 deletions
diff --git a/t/pragma/warn/op b/t/pragma/warn/op
index c72534a15f..a07a837ffb 100644
--- a/t/pragma/warn/op
+++ b/t/pragma/warn/op
@@ -87,13 +87,13 @@
(Maybe you meant system() when you said exec()?
exec "true" ; my $a
- defined(@array) is deprecated (and not really meaningful)
+ defined(@array) is deprecated
(Maybe you should just omit the defined()?)
defined @a ;
my @a ; defined @a ;
defined (@a = (1,2,3)) ;
- defined(%hash) is deprecated (and not really meaningful)
+ defined(%hash) is deprecated
(Maybe you should just omit the defined()?)
defined %h ;
my %h ; defined %h ;
@@ -558,33 +558,33 @@ Statement unlikely to be reached at - line 4.
use warning 'deprecated' ;
defined(@a);
EXPECT
-defined(@array) is deprecated (and not really meaningful) at - line 3.
+defined(@array) is deprecated at - line 3.
(Maybe you should just omit the defined()?)
########
# op.c
use warning 'deprecated' ;
my @a; defined(@a);
EXPECT
-defined(@array) is deprecated (and not really meaningful) at - line 3.
+defined(@array) is deprecated at - line 3.
(Maybe you should just omit the defined()?)
########
# op.c
use warning 'deprecated' ;
defined(@a = (1,2,3));
EXPECT
-defined(@array) is deprecated (and not really meaningful) at - line 3.
+defined(@array) is deprecated at - line 3.
(Maybe you should just omit the defined()?)
########
# op.c
use warning 'deprecated' ;
defined(%h);
EXPECT
-defined(%hash) is deprecated (and not really meaningful) at - line 3.
+defined(%hash) is deprecated at - line 3.
(Maybe you should just omit the defined()?)
########
# op.c
use warning 'deprecated' ;
my %h; defined(%h);
EXPECT
-defined(%hash) is deprecated (and not really meaningful) at - line 3.
+defined(%hash) is deprecated at - line 3.
(Maybe you should just omit the defined()?)