Package perl-Context-Preserve: Information

    Source package: perl-Context-Preserve
    Version: 0.01-alt1
    Build time:  Apr 13, 2010, 03:27 AM
    Category: Development/Perl
    Report package bug
    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).

    List of rpms provided by this srpm:
    perl-Context-Preserve (noarch)

    Maintainer: Alexey Tourbin

    List of contributors:
    Alexey Tourbin

    ACL:
    @qa_p7

      1. perl-Module-Install
      2. perl-Test-Exception
      3. perl-Test-use-ok

    Last changed


    April 13, 2010 Alexey Tourbin 0.01-alt1
    - initial revision, for DBIx::Class