File: modules/Err.pm Version: 1.4
Err ... Err.pm error formater
Err::D( Message ) Returns Debug message
Err::pD( Message ) Prints Debug message
Err::I( Message ) Returns Information message
Err::pI( Message ) Prints Information message
Err::pU( Message ) Prints User message
Err::W( Message ) Returns Warning message
Err::E( Message ) Returns Error message
Err::F( Message ) Returns Fatal message
Err::home() Stores directory of current file, which is
removed from subsequent traceback strings
Err::String( Message, Sev, Lvl )
Returns Message, type Sev, routine at Lvl
Err::Called( Message, Sev, Lvl, Caller )
Returns calling address at level caller,
followed by message as for String
Err::Trace() Prints traceback
$lvl = 0 is the routine executing, 1 its caller.. See Err::Test
for examplesUse: strict Routine Comment Arguments Box -- Pop an error box to alert the slumbering user.. my( $component, $message, $file, $sstring ) = @_ ; DbgPrt Print debug messages, if switched on.. Flush Set flag to flush perl IO buffers Info Return Info setting SetD set the debug string SetE set the Error switch SetI set the Info switch SetLbl Sets a label in the message ( after severity ) eg to label MPI process SetW set the Warn switch String Compose error string my( $str, $sev, $lvl ) = @_ ; Test Test routines in Err Trace perl stack trace V Print version number Xttl Set the Xwindow Title home store 'home' location , removed from all trace file names pD Print debug messages, if switched on..