in reply to Re: Why can't some of my modules do log output to a file?
in thread Why can't some of my modules do log output to a file?

I thought I had provided a short, self-contained, correct example?

I can't really provide a seventeen-layered SSCCE of Foo.pm calling Bar.pm calling Baz.pm calling Bax.pm etc. etc. where it's turtles all the way down.

  • Comment on Re^2: Why can't some of my modules do log output to a file?

Replies are listed 'Best First'.
Re^3: Why can't some of my modules do log output to a file?
by AnomalousMonk (Archbishop) on Oct 12, 2022 at 04:03 UTC
    I thought I had provided a short, self-contained, correct example?

    The only code that I can see that you've provided so far in the thread is the code in the OP. This code is not self-contained and executable (under strict-ures and warnings). If it were made so, I very much doubt it would manifest any error/warning messages at all. Please see the SSCCE discussion.

    I can't really provide a seventeen-layered SSCCE ...

    But apparently the monks are expected to do so.


    Give a man a fish:  <%-{-{-{-<

Re^3: Why can't some of my modules do log output to a file?
by haukex (Archbishop) on Oct 12, 2022 at 05:43 UTC
    I thought I had provided a short, self-contained, correct example?

    An SSCCE should be runnable on its own, and it must reproduce the problem. Especially the latter is a very important debugging step: removing as much code as possible while still keeping the problem present will help you focus on the source of the problem.