colorize - watch for file changes and colorize them
colorize /absolute/path/lib /absolute/path/t/tests
This program takes a list of directories and watches for changes to any files ending in .pm, .pl, or .t. For any of those files, if the change types (per File::ChangeNotify is create or modify, it will attempt to syntax highlight that file. Thus, while using the debugger, rather than syntax highlighting the code when you enter the debugger (and having a huge wait), this code attempts to syntax highlight your code before you enter the debugger.
.pm
.pl
.t
File::ChangeNotify
create
modify
before
This code is only an example. You'll likely need to customize it for your situation.
Curtis "Ovid" Poe, <ovid at cpan.org>
<ovid at cpan.org>
Please report any bugs or feature requests through the web interface at https://github.com/Ovid/DB--Color/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc DB::Color
You can also look for information at:
Bug tracker (report bugs here)
https://github.com/Ovid/DB--Color/issues
AnnoCPAN: Annotated CPAN documentation
https://github.com/Ovid/DB--Color/
CPAN Ratings
http://cpanratings.perl.org/d/DB-Color
Search CPAN
http://search.cpan.org/dist/DB-Color/
Thanks to Nick Perez, Liz, and the 2012 Perl Hackathon for helping to overcome some major hurdles with this module.
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.