From 5a01f61042ccc2bffdbb0c0b9b19b4884154ee71 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 2 Jan 2013 09:52:58 -0600 Subject: remove the HTML fallback entirely --- lib/Carp/Always/Color.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/Carp/Always/Color.pm b/lib/Carp/Always/Color.pm index 8fecff6..5ca6c4e 100644 --- a/lib/Carp/Always/Color.pm +++ b/lib/Carp/Always/Color.pm @@ -7,9 +7,6 @@ BEGIN { if (-t *STDERR) { require Carp::Always::Color::Term; } - else { - require Carp::Always::Color::HTML; - } } =head1 SYNOPSIS @@ -26,8 +23,11 @@ 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. This 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). +codes. If you want to force this behavior, you can use +L instead, which will always add terminal escape +codes, even when the messages are being sent to something that doesn't look +like a terminal. L also exists, to add HTML color +markup to the messages instead of terminal color codes. =head1 BUGS -- cgit v1.2.3-54-g00ecf