http://www.perlmonks.org?node_id=1122830


in reply to Re^10: expect.pm header
in thread expect.pm header

I believe I know what you are looking for. I am not sure what you are currently seeing. Once I know that, I can make a suggestion for how to move forward. With the code that you showed, I would expect that the log file contains:

============ system ============ bla bla bla ============ system ============ bla bla bla ============ system ============ bla bla bla

Is that what you are currently seeing? If so, then I can definitely tell you how to correct the headers. If not, then we need to figure out why no headers are showing up in your log file.