GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Carp::Always::Color(3) User Contributed Perl Documentation Carp::Always::Color(3)

Carp::Always::Color - Carp::Always, but with color

version 0.08

  use Carp::Always::Color;

or

  perl -MCarp::Always::Color -e'sub foo { die "foo" } foo()'

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. If you want to force this behavior, you can use Carp::Always::Color::Term instead, which will always add terminal escape codes, even when the messages are being sent to something that doesn't look like a terminal. Carp::Always::Color::HTML also exists, to add HTML color markup to the messages instead of terminal color codes.

No known bugs.

Please report any bugs through RT: email "bug-carp-always-color at rt.cpan.org", or browse to <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Always-Color>.

Carp::Always

You can find this documentation for this module with the perldoc command.

    perldoc Carp::Always::Color

You can also look for information at:

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Carp-Always-Color>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Carp-Always-Color>

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Carp-Always-Color>

  • Search CPAN

    <http://search.cpan.org/dist/Carp-Always-Color>

Jesse Luehrs <doy at tozt dot net>

This software is copyright (c) 2016 by Jesse Luehrs.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2016-08-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.