Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37490345
en ru br
ALT Linux repos
S:0.03-alt1.2

Group :: Development/Perl
RPM: perl-Context-Preserve

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 0.03-alt1.2
Build date: 22 april 2020, 18:42 ( 208.9 weeks ago )
Size: 29.43 Kb

Home page:   http://search.cpan.org/dist/Context-Preserve/

License: GPL or Artistic
Summary: run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller
Description:

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).

Current maintainer: Igor Vlasenko

List of contributors

List of rpms provided by this srpm:

  • perl-Context-Preserve
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin