Description
Perl tests can count how many times selected subroutines are called. This helps verify caching, retries, callbacks, and other behavior where the number of calls matters.
It is a developer testing library. Call-count tests should focus on meaningful contracts, because overly strict counts can make refactoring harder without improving correctness.