FreeBSD.software
Home/devel/p5-Carp-Always-Color

p5-Carp-Always-Color

0.08devel

Carp::Always, but with color

Stack traces are hard to read when the messages wrap, because it's hard to tell when one message ends and the next message starts. Carp::Always::Color just colors the first line of each stacktrace, based on whether it's a warning or an error. If messages are being sent to a terminal, it colors them with terminal escape codes, otherwise it colors them with HTML (ideas for more intelligent behavior here are welcome).

$pkg install p5-Carp-Always-Color
metacpan.org/release/Carp-Always-Color
Origin
devel/p5-Carp-Always-Color
Size
46.2KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
0 packages

Dependencies (2)