freebsd-ports/devel/p5-Carp-Always-Color/pkg-descr
Sunpoet Po-Chuan Hsieh 1d3515f7be - Add p5-Carp-Always-Color 0.05
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).

WWW: http://search.cpan.org/dist/Carp-Always-Color/
2011-09-20 08:54:11 +00:00

8 lines
472 B
Text

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).
WWW: http://search.cpan.org/dist/Carp-Always-Color/