Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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 ( #1001354=note: print w/replies, xml ) Need Help??


in reply to Re^6: 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?

FWIW, you're only supposed to configure the logger in one place once, the app
  • Comment on Re^7: Can I from within a module access variables from the calling program?

Replies are listed 'Best First'.
Re^8: Can I from within a module access variables from the calling program?
by HJO (Acolyte) on Oct 29, 2012 at 13:21 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001354]
help
Chatterbox?
[talexb]: That would have been interesting .. phone interview with BigCorp while the piano tuner does his magic. Awkwardness successfully averted!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-11-17 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (270 votes). Check out past polls.

    Notices?