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-4m.mo7.noarch [9 KiB] Changelog by Yohsuke Ooi (2010-08-31):
- (0.01-4m)
- full rebuild for mo7 release

Listing created by Repoview-0.6.5-1m.mo7