[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001179: ITP: libcall-context-perl -- module to sanity-check calling context



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libcall-context-perl
  Version         : 0.03
  Upstream Author : Felipe Gasper (FELIPE) <felipe@cpan.org>
* URL             : https://metacpan.org/release/Call-Context
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : 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.

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.

Attachment: signature.asc
Description: Digital Signature


Reply to: