slackbuilds/perl/perl-Scope-Upper
Jan F. Chadima 860ba8a5b5 perl/perl-Scope-Upper: Added (Act on upper scopes).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-03-21 22:40:09 +00:00
..
README perl/perl-Scope-Upper: Added (Act on upper scopes). 2018-03-21 22:40:09 +00:00
perl-Scope-Upper.SlackBuild perl/perl-Scope-Upper: Added (Act on upper scopes). 2018-03-21 22:40:09 +00:00
perl-Scope-Upper.info perl/perl-Scope-Upper: Added (Act on upper scopes). 2018-03-21 22:40:09 +00:00
slack-desc perl/perl-Scope-Upper: Added (Act on upper scopes). 2018-03-21 22:40:09 +00:00

README

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", "yield"
     and "leave" ;
  -  gather information about an upper context with "want_at"
     and "context_info" ;
  -  execute a subroutine in the setting of an upper subroutine stack
     frame with "uplevel" ;
  -  uniquely identify contexts with "uid" and "validate_uid".