9 + (4+1) * 2 # list/scalar with exception (try + catch + 2 x finally) + is_deeply
10 + 4 # void with exception
11 + (3+1) * 2 # list/scalar no exception (try + 2 x finally) + is_deeply
12 + 3 # void no exception
25 for (sort keys %$ctx_index) {
29 if ($ctx_index->{$ctx}) {
32 [ $die ? 'catch' : 'try' ],
35 elsif (defined $ctx_index->{$ctx}) {
38 [ $die ? 'catch' : 'try' ],
50 is (wantarray, $ctx_index->{$ctx}, "Proper context $ctx in try{}");
55 is (wantarray, $ctx_index->{$ctx}, "Proper context $ctx in catch{}");
60 skip "DESTROY() not called in void context on perl $]", 1
62 is (wantarray, undef, "Proper VOID context in finally{} 1");
68 skip "DESTROY() not called in void context on perl $]", 1
70 is (wantarray, undef, "Proper VOID context in finally{} 2");