Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> perl >> libcall-context-perl
aramo  ]
[ ソース: libcall-context-perl  ]

パッケージ: libcall-context-perl (0.03-2)

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.

その他の libcall-context-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libcall-context-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 5.1 kB19 kB [ファイル一覧]