Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You might see an error like below, this is a Perl error and can be read the same way as reading a Perl compile or runtime error.  Everything after the <br> is the error.  The information before the <br> includes the callstack.

Code Block
16-Mar-2013 13:48:26,tables.pl::loadCfgTable#140NMIS::loadGenericTable#293NMIS::loadFileOrDBTable#288func::loadTable#869func::readFiletoHash#976<br>ERROR convert /usr/local/nmis8/conf/Table-Nodes.nmis to hash table, Global symbol "$example" requires explicit package name at (eval 46) line 34, <$handle> line 70. 

In this example 'Global symbol "$example" requires explicit package name at (eval 46) line 34' is saying there is a compile time error at line 46 of the evaluated code, in this case the variable $example has not been declared inline with Perl "strict".

The callstack looks like this: 

Code Block
NMIS::loadGenericTable (line 293)
  called:  NMIS::loadFileOrDBTable (line 288)
  called:  func::loadTable (line 869)
  called:  func::readFiletoHash (line 976)

Feedback

We would love you get your feedback, please let us know if you had any problems or would like more information at contact@opmantek.com