Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by LittleJack (Beadle)
on Oct 12, 2022 at 01:13 UTC ( #11147361=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147361]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2023-03-31 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (76 votes). Check out past polls.

    Notices?