Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-04-28 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (437 votes). Check out past polls.