1. use warnings;
2. my $undef;
3.
4. if ($undef == 3) {
5. } elsif ($undef == 0) {
6. }
:
Use of uninitialized value in numeric eq (==) at wrong.pl line 4.
Use of uninitialized value in numeric eq (==) at wrong.pl line 4.
- 5. - - , if elsif OP, , PL_curcop - 4. , OPs elsif, , nextstate OP OP, live nextstate OP, . (Jenga!)
, elsif ( elsif ).
1. use warnings;
2. my $undef;
3.
4. my $a = $undef + 1;
5. my $b
6. = $undef
7. + 1;
Use of uninitialized value $undef in addition (+) at wrong.pl line 4.
Use of uninitialized value $undef in addition (+) at wrong.pl line 7.
( 4 5), , -, , OP ( ) .
, BASEOP op, , . . ( repack the optree), ops . , OP . , op nextstate-light ( PL_curcop), , , op. , . ( , repack optpect, / OP)
( , , , )