Packages / openSUSE Tumbleweed / perl-Context-Preserve

Package: perl-Context-Preserve (0.30.0-1.4)

Run code after a subroutine call, preserving the context the subroutine [cut]

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.

Package information

Homepage
[https://metacpan.org/release/Context-Preserve]
License
Artistic-1.0 OR GPL-1.0-or-later
Downstream package maintainer
Unknown: not reported in the indexed source
Source package
[perl-Context-Preserve]
Software project
[libcontext-preserve-perl]

Versions and downloads for perl-Context-Preserve

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
0.30.0-1.4tumbleweed / ossnoarchopenSUSE Tumbleweed · OSS · multi-architecture21 KiB30 KiBlist of filesperl-Context-Preserve-0.30.0-1.4.noarch.rpm
About these downloads

Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.

Dependencies and recommendations for perl-Context-Preserve

  • dep: perl(:MODULE_COMPAT_5.44.0)

    Package not available

Package file paths (9)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.44.0/Context
  • /usr/lib/perl5/vendor_perl/5.44.0/Context/Preserve.pm
  • /usr/share/doc/packages/perl-Context-Preserve
  • /usr/share/doc/packages/perl-Context-Preserve/Changes
  • /usr/share/doc/packages/perl-Context-Preserve/CONTRIBUTING
  • /usr/share/doc/packages/perl-Context-Preserve/README
  • /usr/share/licenses/perl-Context-Preserve
  • /usr/share/licenses/perl-Context-Preserve/LICENCE
  • /usr/share/man/man3/Context::Preserve.3pm.gz

Field source: openSUSE Tumbleweed OSS

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.30.0-1.4 / noarchObserved Sep 1, 2026sha512 4f45e61f560c…65b28cc0Source-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 4f45e61f560caebed04dc21e3737a187d1f7e10929bd3eb706a0e4ecc6dfa56d243f9a769c96b548e15a82b063f6c91857b16b4ac057bb11657f9e9965b28cc0

Field source: openSUSE Tumbleweed OSS

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    tumbleweed-oss-multiarch:4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f

    Repository-signature verification record
    Signed-object SHA-256
    4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Use this package

OpenFactory can boot this operating system in a browser VM, or start a build that includes the native package name from this record.