[ ソース: 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.