Fri, 30 Oct 2026 06:50:36 UTC | login

Information for build perl-Context-Preserve-0.03-26.fc45

ID9227
Package Nameperl-Context-Preserve
Version0.03
Release26.fc45
Epoch
DraftFalse
Sourcegit+https://src.fedoraproject.org/rpms/perl-Context-Preserve.git#a945f28e10d6397e57ac6ab138b7227a8026f43e
SummaryRun code after a subroutine call, preserving the context
DescriptionSometimes 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 code reference that is the "original function", and another code reference to run after running the original. You can modify the return value (aliased to @_) here, and do whatever else you need to do. 'wantarray' is correct inside both code references; 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.
Built byguoguo
State complete
Volume DEFAULT
StartedFri, 16 Oct 2026 17:46:56 UTC
CompletedFri, 16 Oct 2026 17:50:20 UTC
Taskbuild (f45, /rpms/perl-Context-Preserve.git:a945f28e10d6397e57ac6ab138b7227a8026f43e)
Extra{'source': {'original_url': 'git+https://src.fedoraproject.org/rpms/perl-Context-Preserve.git#a945f28e10d6397e57ac6ab138b7227a8026f43e'}}
Tags
f45
RPMs
src
perl-Context-Preserve-0.03-26.fc45.src.rpm (info) (download)
noarch
perl-Context-Preserve-0.03-26.fc45.noarch.rpm (info) (download)
Logs
noarch
mock_config.log
state.log
build.log
root.log
dnf5.log
noarch_rpmdiff.json
mock_output.log
hw_info.log
installed_pkgs.log
Changelog * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild