Name : perl-Sub-WhenBodied
| |
Version : 0.000
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 18:59:43
|
Group : Development/Libraries/Perl
| Source RPM : perl-Sub-WhenBodied-0.000-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Delay Action Until Subroutine Acquires Body
|
Description :
This module provides a facility to delay an action on a subroutine until the subroutine\'s body (the code that will be run when the subroutine is called) has been attached to the subroutine object. This is mainly useful in implementing subroutine attributes, where the implementation needs to operate on the subroutine\'s body.
This facility is required due to an oddity of how Perl constructs Perl-language subroutines. A subroutine object is initially created with no body, and then the body is later attached. Prior to Perl 5.15.4, attribute handlers are executed before the body is attached, so see it in that intermediate state. (From Perl 5.15.4 onwards, attribute handlers are executed after the body is attached.) It is otherwise unusual to see the subroutine in that intermediate state. If the implementation of an attribute can only be completed after the body is attached, this module is the way to schedule the implementation.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/15.5/x86_64 |