DB<4> f evals.pl 1: use strict; 2: use warnings; 3 4: my ($a, $b) = (1, 9); 5 6: my $x = eval q { 7 $a = 2; 8 $b = 3; 9 print "$b\n"; 10 $a+$b; DB<5> c 15 3 main::(evals.pl:15): my $y = eval '$a+$b'; DB<6> n main::((eval 8)[evals.pl:15]:1): $a+$b DB<6> l (eval 8) 1==> $a+$b 2 ; DB<7> c 5 Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<7>