Package: perl-Sub-Exporter-GlobExporter (0.006-1.13)
Export shared globs with Sub::Exporter collectors
Sub::Exporter::GlobExporter provides only one routine, 'glob_exporter', which may be called either by its full name or may be imported on request. my $exporter = glob_exporter( $default_name, $globref_locator ); The routine returns a collection validator that will export a glob into the importing package. It will export it under the name '$default_name', unless an alternate name is given (as shown above). The glob that is installed is specified by the '$globref_locator', which can be either the globref itself, or a reference to a string which will be called on the exporter For an example, see the SYNOPSIS, in which a method is defined to produce the globref to share. This allows the glob-exporting package to be subclassed, so the subclass may choose to either re-use the same glob when exporting or to export a new one. If there are entries in the arguments to the globref-exporting collector _other_ than those beginning with a dash, a hashref of them will be passed to the globref locator. In other words, if we were to write this: use Shared::Symbol '$Symbol' => { arg => 1, -as => 2 }; It would result in a call like the following: my $globref = Shared::Symbol->_shared_globref({ arg => 1 });
Package information
- Homepage
- [https://metacpan.org/release/Sub-Exporter-GlobExporter]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Sub-Exporter-GlobExporter]
- Software project
- [libsub-exporter-globexporter-perl]
Versions and downloads for perl-Sub-Exporter-GlobExporter
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.006-1.13tumbleweed / oss | noarchopenSUSE Tumbleweed · OSS · multi-architecture | 21 KiB | 28 KiB | list of files | perl-Sub-Exporter-GlobExporter-0.006-1.13.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Sub-Exporter-GlobExporter
dep: perl(:MODULE_COMPAT_5.44.0)
Package not available
dep: perl(Sub::Exporter)
Package not available
Package file paths (9)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.44.0/Sub
- /usr/lib/perl5/vendor_perl/5.44.0/Sub/Exporter
- /usr/lib/perl5/vendor_perl/5.44.0/Sub/Exporter/GlobExporter.pm
- /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter
- /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/Changes
- /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/README
- /usr/share/licenses/perl-Sub-Exporter-GlobExporter
- /usr/share/licenses/perl-Sub-Exporter-GlobExporter/LICENSE
- /usr/share/man/man3/Sub::Exporter::GlobExporter.3pm.gz
Field source: openSUSE Tumbleweed OSS
