Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 22825
Status: rejected
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Rework how TB->carp and croak work.
Test::Builder->carp() and croak() both work by going up a fixed number of levels to report the error at the caller's location. This is involving more and more careful "local $Level = $Level + 1". Come up with a better way to do it.
TB2 has that better way with assert stacks and ->top.