[ 源代码: libcall-context-perl ]
软件包:libcall-context-perl(0.05-1)
libcall-context-perl 的相关链接
Debian 的资源:
下载源码包 libcall-context-perl:
- [libcall-context-perl_0.05-1.dsc]
- [libcall-context-perl_0.05.orig.tar.gz]
- [libcall-context-perl_0.05-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
module to sanity-check calling context
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.