blob: 4003bfd10c562d6a9058ae597500232687f889e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
This module lets you defer actions at run-time that will take place when
the control flow returns into an upper scope. Currently, you can:
* hook an upper scope end with "reap" ;
* localize variables, array/hash values or deletions of elements in
higher contexts with respectively "localize", "localize_elem" and
"localize_delete" ;
* return values immediately to an upper level with "unwind", and know
which context was in use then with "want_at".
WWW: https://metacpan.org/release/Scope-Upper
|