libcall-context-perl

module to sanity-check calling context

Description

If your function only expects to return a list, then a call in some other context is, by definition, an error. The problem is that, depending on how the function is written, it may actually do something expected in testing, but then in production act differently.

The Call::Context module offers some functions to check if the calling function is itself called in the expected context.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Call-Context


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libcall-context-perl