The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PBS::Output -

SYNOPSIS

  use PBS::Information ;
  PrintUser("Hello user\n") ;

DESCRIPTION

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.

EXPORT

        ERROR WARNING WARNING2 INFO INFO2 USER SHELL DEBUG
        PrintError PrintWarning PrintWarning2 PrintInfo PrintInfo2 PrintUser PrintShell PrintDebug

        GetLineWithContext PrintWithContext PbsDisplayErrorWithContext

AUTHOR

Khemir Nadim ibn Hamouda. nadim@khemir.net

SEE ALSO