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

perl-Sub-Exporter-ForMethods-0.100052-bp153.1.16 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: perl-Sub-Exporter-ForMethods Distribution: SUSE Linux Enterprise 15 SP3
Version: 0.100052 Vendor: openSUSE
Release: bp153.1.16 Build date: Fri Mar 5 23:47:33 2021
Group: Development/Libraries/Perl Build host: lamb01
Size: 27710 Source RPM: perl-Sub-Exporter-ForMethods-0.100052-bp153.1.16.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Sub-Exporter-ForMethods/
Summary: Helper Routines for Using Sub::Exporter to Build Methods
The synopsis section, above, looks almost indistinguishable from any other
use of Sub::Exporter, apart from the use of 'method_installer'. It is
nearly indistinguishable in behavior, too. The only change is that
subroutines exported from Method::Builder into named slots in
Vehicle::Autobot will be wrapped in a subroutine called
'Vehicle::Autobot::transform'. This will insert a named frame into stack
traces to aid in debugging.

More importantly (for the author, anyway), they will not be removed by
namespace::autoclean. This makes the following code work:

  package MyLibrary;

  use Math::Trig qw(tan);         # uses Exporter.pm
  use String::Truncate qw(trunc); # uses Sub::Exporter's defaults

  use Sub::Exporter::ForMethods qw(method_installer);
  use Mixin::Linewise { installer => method_installer }, qw(read_file);

  use namespace::autoclean;

  ...

  1;

After MyLibrary is compiled, 'namespace::autoclean' will remove 'tan' and
'trunc' as foreign contaminants, but will leave 'read_file' in place. It
will also remove 'method_installer', an added win.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Sat Jul 18 2015 coolo@suse.com
  - updated to 0.100052
    see /usr/share/doc/packages/perl-Sub-Exporter-ForMethods/Changes
    0.100052  2015-07-17 19:27:36-04:00 America/New_York
    - add the ability to bless the wrapper into the wrapped sub's class,
      if requested
* Mon Nov 25 2013 coolo@suse.com
  - updated to 0.100051
    update bugtracker and repo metadata
  - new cpanspec template
* Fri Nov 18 2011 coolo@suse.com
  - use original .tar.gz
* Sat Jan 22 2011 coolo@novell.com
  - initial package 0.100050
    * 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/ForMethods.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Sub-Exporter-ForMethods
/usr/share/doc/packages/perl-Sub-Exporter-ForMethods/Changes
/usr/share/doc/packages/perl-Sub-Exporter-ForMethods/LICENSE
/usr/share/doc/packages/perl-Sub-Exporter-ForMethods/README
/usr/share/man/man3/Sub::Exporter::ForMethods.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 14:50:04 2024