3 Filehandle %s never opened [pp_print]
4 $f = $a = "abc" ; print $f $a
6 Filehandle %s opened only for input [pp_print]
9 Filehandle %s opened only for output [pp_print]
12 print on closed filehandle %s [pp_print]
13 close STDIN ; print STDIN "abc" ;
15 uninitialized [pp_rv2av]
16 my $a = undef ; my @b = @$a
18 uninitialized [pp_rv2hv]
19 my $a = undef ; my %b = %$a
21 Odd number of elements in hash list [pp_aassign]
24 Reference found where even-sized list expected [pp_aassign]
27 Filehandle %s opened only for output [Perl_do_readline]
31 glob failed (can't start child: %s) [Perl_do_readline] <<TODO
33 Read on closed filehandle %s [Perl_do_readline]
34 close STDIN ; $a = <STDIN>;
36 glob failed (child exited with status %d%s) [Perl_do_readline] <<TODO
38 Deep recursion on subroutine \"%s\" [Perl_sub_crush_depth]
39 sub fred { fred() if $a++ < 200} fred()
41 Deep recursion on anonymous subroutine [Perl_sub_crush_depth]
42 $a = sub { &$a if $a++ < 200} &$a
44 Possible Y2K bug: about to append an integer to '19' [pp_concat]
49 use warnings 'unopened' ;
52 no warnings 'unopened' ;
55 Filehandle main::abc never opened at - line 4.
62 open(FOO, ">&STDOUT") and print <FOO>;
65 ####################################################################
66 # The next test is known to fail on some systems (Linux/BSD+glibc, #
67 # NeXT among others. glibc should be fixed in the next version, #
68 # but it appears other platforms have little hope. We skip it for #
69 # now (on the grounds that it is "just" a warning). #
70 ####################################################################
75 Filehandle main::STDIN opened only for input at - line 3.
76 Filehandle main::STDOUT opened only for output at - line 4.
77 Filehandle main::STDERR opened only for output at - line 5.
78 Filehandle main::FOO opened only for output at - line 6.
79 Filehandle main::STDERR opened only for output at - line 7.
80 Filehandle main::FOO opened only for output at - line 8.
83 use warnings 'closed' ;
86 no warnings 'closed' ;
89 print on closed filehandle main::STDIN at - line 4.
92 use warnings 'uninitialized' ;
95 no warnings 'uninitialized' ;
98 Use of uninitialized value at - line 4.
100 # pp_hot.c [pp_rv2hv]
101 use warnings 'uninitialized' ;
104 no warnings 'uninitialized' ;
107 Use of uninitialized value at - line 4.
109 # pp_hot.c [pp_aassign]
110 use warnings 'unsafe' ;
111 my %X ; %X = (1,2,3) ;
112 no warnings 'unsafe' ;
113 my %Y ; %Y = (1,2,3) ;
115 Odd number of elements in hash assignment at - line 3.
117 # pp_hot.c [pp_aassign]
118 use warnings 'unsafe' ;
119 my %X ; %X = [1 .. 3] ;
120 no warnings 'unsafe' ;
121 my %Y ; %Y = [1 .. 3] ;
123 Reference found where even-sized list expected at - line 3.
125 # pp_hot.c [Perl_do_readline]
126 use warnings 'closed' ;
127 close STDIN ; $a = <STDIN> ;
128 no warnings 'closed' ;
131 Read on closed filehandle main::STDIN at - line 3.
133 # pp_hot.c [Perl_do_readline]
135 my $file = "./xcv" ; unlink $file ;
136 open (FH, ">./xcv") ;
142 Filehandle main::FH opened only for output at - line 5.
144 # pp_hot.c [Perl_sub_crush_depth]
145 use warnings 'recursion' ;
151 local $SIG{__WARN__} = sub {
152 die "ok\n" if $_[0] =~ /^Deep recursion on subroutine "main::fred"/
159 # pp_hot.c [Perl_sub_crush_depth]
160 no warnings 'recursion' ;
166 local $SIG{__WARN__} = sub {
167 die "ok\n" if $_[0] =~ /^Deep recursion on subroutine "main::fred"/
174 # pp_hot.c [Perl_sub_crush_depth]
175 use warnings 'recursion' ;
183 Deep recursion on anonymous subroutine at - line 5.
185 # pp_hot.c [Perl_sub_crush_depth]
186 no warnings 'recursion' ;
195 # pp_hot.c [pp_concat]
199 unless ($Config{ccflags} =~ /Y2KWARN/) {
200 print "SKIPPED\n# perl not built with -DPERL_Y2KWARN";
207 $x = "19" . $yy . "\n";
209 $x = "319" . $yy . "\n";
212 $x = "19" . $yy . "\n";
214 Possible Y2K bug: about to append an integer to '19' at - line 12.
215 Possible Y2K bug: about to append an integer to '19' at - line 13.