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


in reply to Re^5: Can I from within a module access variables from the calling program?
in thread Can I from within a module access variables from the calling program?

if there's a 1 second delay, the two files would not have the same name...

give gmtime $^T

  • Comment on Re^6: Can I from within a module access variables from the calling program?

Replies are listed 'Best First'.
Re^7: Can I from within a module access variables from the calling program?
by Anonymous Monk on Oct 29, 2012 at 12:38 UTC
    FWIW, you're only supposed to configure the logger in one place once, the app

      Somebody already told me that, but the problem is that I don't know how to do so... I can't log things in the module while my configuration is in the main script... Do you know how to fix it ?

        I gave you an example, dissect it until you understand