Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Sub-Exporter-GlobExporter-0.005-lp152.3.2 RPM for noarch

From OpenSuSE Leap 15.2 for noarch

Name: perl-Sub-Exporter-GlobExporter Distribution: openSUSE Leap 15.2
Version: 0.005 Vendor: openSUSE
Release: lp152.3.2 Build date: Fri Sep 20 19:48:23 2019
Group: Development/Libraries/Perl Build host: cloud116
Size: 28316 Source RPM: perl-Sub-Exporter-GlobExporter-0.005-lp152.3.2.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/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|Sub::Exporter/Collector
Configuration 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 });

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* 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

Files

/usr/lib/perl5/vendor_perl/5.26.1/Sub
/usr/lib/perl5/vendor_perl/5.26.1/Sub/Exporter
/usr/lib/perl5/vendor_perl/5.26.1/Sub/Exporter/GlobExporter.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/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/LICENSE
/usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/README
/usr/share/man/man3/Sub::Exporter::GlobExporter.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 11:50:38 2024