| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-Sub-Exporter-ForMethods | Distribution: openSUSE:Factory:zSystems |
| Version: 0.100055 | Vendor: openSUSE |
| Release: 1.10 | Build date: Tue Jan 3 04:09:24 2023 |
| Group: Unspecified | Build host: reproducible |
| Size: 28903 | Source RPM: perl-Sub-Exporter-ForMethods-0.100055-1.10.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://metacpan.org/release/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.
Artistic-1.0 OR GPL-1.0-or-later
* Tue Jan 03 2023 Tina Müller <timueller+perl@suse.de>
- updated to 0.100055
see /usr/share/doc/packages/perl-Sub-Exporter-ForMethods/Changes
0.100055 2022-12-31 16:54:39-05:00 America/New_York
- update packaging and metadata
- minimum required Perl is now v5.12
* Sun Apr 18 2021 Tina Müller <timueller+perl@suse.de>
- updated to 0.100054
see /usr/share/doc/packages/perl-Sub-Exporter-ForMethods/Changes
0.100054 2021-04-17 17:59:05-04:00 America/New_York
- no change since last trial release
0.100053 2021-04-04 12:59:57-04:00 America/New_York (TRIAL RELEASE)
- replace Sub::Name with Sub::Util, which has been core since 2015
* 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
/usr/lib/perl5/vendor_perl/5.42.0/Sub /usr/lib/perl5/vendor_perl/5.42.0/Sub/Exporter /usr/lib/perl5/vendor_perl/5.42.0/Sub/Exporter/ForMethods.pm /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/README /usr/share/licenses/perl-Sub-Exporter-ForMethods /usr/share/licenses/perl-Sub-Exporter-ForMethods/LICENSE /usr/share/man/man3/Sub::Exporter::ForMethods.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 22 23:06:31 2025