sub try (&) {
my @result = shift->();
- my $cx = SUB UP SUB;
+ my $cx = SUB UP; # Point to the sub above this one
unwind +(want_at($cx) ? @result : scalar @result) => $cx;
}
print "NOT REACHED\n";
}
-my @what = zap(); # @what contains @things
-my $what = zap(); # @what contains @things
+my @stuff = zap(); # @stuff contains qw/a b c/
+my $stuff = zap(); # $stuff contains 3
-print "zap() returns @what in list context and $what in scalar context\n";
+print "zap() returns @stuff in list context and $stuff in scalar context\n";