PBS::Output -
use PBS::Information ; PrintUser("Hello user\n") ;
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.
ERROR WARNING WARNING2 INFO INFO2 USER SHELL DEBUG PrintError PrintWarning PrintWarning2 PrintInfo PrintInfo2 PrintUser PrintShell PrintDebug GetLineWithContext PrintWithContext PbsDisplayErrorWithContext
Khemir Nadim ibn Hamouda. nadim@khemir.net
To install PBS::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PBS::Log
CPAN shell
perl -MCPAN -e shell install PBS::Log
For more information on module installation, please visit the detailed CPAN module installation guide.