Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Syntax highlighting the Perl debugger
Perl
branch: master

This branch is 43 commits behind Ovid:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/DB
t
Changes
MANIFEST
Makefile.PL
README

README

DB-Color

Syntax highlighting for the Perl debugger.

Want this?
http://blogs.perl.org/users/ovid/2010/11/syntax-highlighting-for-the-perl-debugger.html

Then add this to your $HOME/.perldb

 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 code is a proof of concept and is buggy. The syntax highlighting is
buggy. Fix it :)

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

SUPPORT AND DOCUMENTATION

After installing, 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/


LICENSE AND COPYRIGHT

Copyright (C) 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.

Something went wrong with that request. Please try again.