Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Sub-Exporter-GlobExporter | Distribution: openSUSE Leap 16.0 |
Version: 0.006 | Vendor: openSUSE |
Release: lp160.1.1 | Build date: Tue Jan 3 04:10:01 2023 |
Group: Unspecified | Build host: reproducible |
Size: 28911 | Source RPM: perl-Sub-Exporter-GlobExporter-0.006-lp160.1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Sub-Exporter-GlobExporter | |
Summary: 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 });
Artistic-1.0 OR GPL-1.0-or-later
* Tue Jan 03 2023 Tina Müller <timueller+perl@suse.de> - updated to 0.006 see /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/Changes 0.006 2022-12-31 16:56:16-05:00 America/New_York - update packaging and metadata - minimum required Perl is now v5.12 * Wed Nov 11 2015 coolo@suse.com - updated to 0.005 see /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/Changes 0.005 2015-11-04 23:27:05-05:00 America/New_York the "-as" argument can now be a scalar ref, to which the glob will be assigned * Mon Nov 25 2013 coolo@suse.com - updated to 0.004 fix links to github! * Tue Jun 04 2013 coolo@suse.com - updated to 0.003 fix some confusing mistakes in the docs (thanks, George Hartzell) - remove Sub-Exporter-GlobExporter-Test_More.patch * Tue Feb 01 2011 chris@computersalat.de - fix build for suse_version <= 1110 * add Test_More patch * Mon Jan 17 2011 coolo@novell.com - initial package 0.002 * created by cpanspec 1.78.03
/usr/lib/perl5/vendor_perl/5.38.2/Sub /usr/lib/perl5/vendor_perl/5.38.2/Sub/Exporter /usr/lib/perl5/vendor_perl/5.38.2/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
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Jan 11 23:48:29 2025