Letter P

perl-Context-Preserve - Run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller

Website: http://search.cpan.org/dist/Context-Preserve/
License: "Distributable"
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).

Packages

perl-Context-Preserve-0.01-10m.mo8.noarch [9 KiB] Changelog by NARITA Koichi (2011-10-05):
- (0.01-10m)
- rebuild against perl-5.14.2

Listing created by Repoview-0.6.6-1m.mo8