aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Call-Context/pkg-descr
blob: b51b5887fb55eb7c63a1f521cccc514d6b210205 (plain) (blame)
1
2
3
4
5
6
7
8
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.

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