summaryrefslogtreecommitdiff
path: root/t/pragma/warn/pp_hot
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-01-13 16:31:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-01-13 16:31:34 +0000
commit434d2535978fdc93cf6e9722bc7f9d272a9c2632 (patch)
treedd1640d56ae63acd3cdc1ed34863bc656a13dbc3 /t/pragma/warn/pp_hot
parentd132b95fb004c5e3d94e297d3804c90cfef96fed (diff)
parent8ea97a1e700347a7b6ed9267c8c34f286f94d5d6 (diff)
downloadperl-434d2535978fdc93cf6e9722bc7f9d272a9c2632.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4798
Diffstat (limited to 't/pragma/warn/pp_hot')
-rw-r--r--t/pragma/warn/pp_hot12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/pragma/warn/pp_hot b/t/pragma/warn/pp_hot
index 9a4b0a0708..7e19dc5c94 100644
--- a/t/pragma/warn/pp_hot
+++ b/t/pragma/warn/pp_hot
@@ -9,7 +9,7 @@
Filehandle %s opened only for output [pp_print]
print <STDOUT> ;
- print on closed filehandle %s [pp_print]
+ print() on closed filehandle %s [pp_print]
close STDIN ; print STDIN "abc" ;
uninitialized [pp_rv2av]
@@ -30,7 +30,7 @@
glob failed (can't start child: %s) [Perl_do_readline] <<TODO
- Read on closed filehandle %s [Perl_do_readline]
+ readline() on closed filehandle %s [Perl_do_readline]
close STDIN ; $a = <STDIN>;
glob failed (child exited with status %d%s) [Perl_do_readline] <<TODO
@@ -86,7 +86,7 @@ print STDIN "anc";
no warnings 'closed' ;
print STDIN "anc";
EXPECT
-print on closed filehandle main::STDIN at - line 4.
+print() on closed filehandle main::STDIN at - line 4.
########
# pp_hot.c [pp_rv2av]
use warnings 'uninitialized' ;
@@ -95,7 +95,7 @@ my @b = @$a;
no warnings 'uninitialized' ;
my @c = @$a;
EXPECT
-Use of uninitialized value at - line 4.
+Use of uninitialized value in array dereference at - line 4.
########
# pp_hot.c [pp_rv2hv]
use warnings 'uninitialized' ;
@@ -104,7 +104,7 @@ my %b = %$a;
no warnings 'uninitialized' ;
my %c = %$a;
EXPECT
-Use of uninitialized value at - line 4.
+Use of uninitialized value in hash dereference at - line 4.
########
# pp_hot.c [pp_aassign]
use warnings 'unsafe' ;
@@ -128,7 +128,7 @@ close STDIN ; $a = <STDIN> ;
no warnings 'closed' ;
$a = <STDIN> ;
EXPECT
-Read on closed filehandle main::STDIN at - line 3.
+readline() on closed filehandle main::STDIN at - line 3.
########
# pp_hot.c [Perl_do_readline]
use warnings 'io' ;