DB::Color - Colorize your debugger output
Version 0.05
Put the following in your $HOME/.perldb file:
sub afterinit { push @DB::typeahead, "{{v" unless $DB::already_curly_curly_v++; } use DB::Color;
Then use your debugger like normal:
perl -d some_file.pl
This is only a proof of concept. In fact, it's fair to say that this code sucks. It's not very configurable and has bugs. It's also going to possibly be a memory hog, as if the debugger wasn't bad enough already.
Curtis "Ovid" Poe, <ovid at cpan.org>
<ovid at cpan.org>
Please report any bugs or feature requests to bug-db-color at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DB-Color. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-db-color at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc DB::Color
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=DB-Color
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/DB-Color
CPAN Ratings
http://cpanratings.perl.org/d/DB-Color
Search CPAN
http://search.cpan.org/dist/DB-Color/
Copyright 2011 Curtis "Ovid" Poe.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install DB::Color, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DB::Color
CPAN shell
perl -MCPAN -e shell install DB::Color
For more information on module installation, please visit the detailed CPAN module installation guide.