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

perl-Context-Preserve-0.01-9.el7 RPM for noarch

From EPEL 7 for x86_64 / Packages / p

Name: perl-Context-Preserve Distribution: Fedora Project
Version: 0.01 Vendor: Fedora Project
Release: 9.el7 Build date: Wed Jan 29 21:24:36 2014
Group: Development/Libraries Build host: buildvm-15.phx2.fedoraproject.org
Size: 7487 Source RPM: perl-Context-Preserve-0.01-9.el7.src.rpm
Packager: Fedora Project
Url: http://search.cpan.org/dist/Context-Preserve
Summary: Run code after a subroutine call, preserving context
Sometimes you need to call a function, get the results, act on the
results, then return the result of the function. This is painful because
of contexts; the original function can behave different if it's called
in void, scalar, or list context. You can ignore the various cases and
just pick one, but that's fragile. To do things right, you need to see
which case you're being called in, and then call the function in that
context. This results in 3 code paths, which is a pain to type in (and
maintain).  This module automates the process. You provide a coderef that
is the "original function", and another coderef to run after the
original runs. You can modify the return value (aliased to @_) here, and
do whatever else you need to do. 'wantarray' is correct inside both
coderefs; in "after", though, the return value is ignored and the value
'wantarray' returns is related to the context that the original function
was called in.

Provides

Requires

License

GPL+ or Artistic

Changelog

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-9
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-8
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.01-7
  - Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-6
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.01-5
  - Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-4
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-3
  - 661697 rebuild for fixing problems with vendorach/lib
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-2
  - Mass rebuild with perl-5.12.0
* Fri Mar 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.01-1
  - specfile by Fedora::App::MaintainerTools 0.004

Files

/usr/share/doc/perl-Context-Preserve-0.01
/usr/share/doc/perl-Context-Preserve-0.01/Changes
/usr/share/doc/perl-Context-Preserve-0.01/README
/usr/share/man/man3/Context::Preserve.3pm.gz
/usr/share/perl5/vendor_perl/Context
/usr/share/perl5/vendor_perl/Context/Preserve.pm


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jan 18 00:21:17 2022