Name : perl-Perl6-Export-Attrs
| |
Version : 0.000006
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 17:48:56
|
Group : Development/Libraries/Perl
| Source RPM : perl-Perl6-Export-Attrs-0.000006-lp154.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : The Perl 6 \'is export(...)\' trait as a Perl 5 attribute
|
Description :
Implements a Perl 5 native version of what the Perl 6 symbol export mechanism will look like (with some unavoidable restrictions).
It\'s very straightforward:
* If you want a subroutine or package variable to be capable of being exported (when explicitly requested in the \'use\' arguments), you mark it with the \':Export\' attribute.
* If you want a subroutine or package variable to be automatically exported when the module is used (without specific overriding arguments), you mark it with the \':Export(:DEFAULT)\' attribute.
* If you want a subroutine or package variable to be automatically exported when the module is used (even if the user specifies overriding arguments), you mark it with the \':Export(:MANDATORY)\' attribute.
* If the subroutine or package variable should also be exported when particular export groups are requested, you add the names of those export groups to the attribute\'s argument list.
That\'s it.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/15.4/noarch |