Skip to content

Commit e4cd4c8

Browse files
committed
[S06] fix a logic flaw introduced in 15f0b2b
1 parent 995ad12 commit e4cd4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S06-routines.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,7 @@ their own C<.TEMP> methods:
26482648
class LoudArray is Array {
26492649
method TEMP {
26502650
print "Replacing $.WHICH() at {caller.location}\n";
2651-
my $restorer = callsame;
2651+
my $restorer = nextsame;
26522652
return {
26532653
print "Restoring $.WHICH() at {caller.location}\n";
26542654
$restorer();

0 commit comments

Comments
 (0)