CPAN RT

if Term::ANSIColor is installed in your system, the output generated by PBS::Output functions will be colorized. the colors are controlled through SetOutputColor which is itself (in PBS case) controled through command line switches.

GetLineWithContext will return a line, from a file, with its context. Not unlike grep -Cn.