Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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


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

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 ?

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

Replies are listed 'Best First'.
Re^9: Can I from within a module access variables from the calling program?
by Anonymous Monk on Oct 29, 2012 at 16:04 UTC
    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://1001358]
help
Chatterbox?
[choroba]: As discussed in Using the DATA file handle for ARGV, I usually start my "fun" scripts with *ARGV = *DATA{IO} unless @ARGV;
[choroba]: this was just a remainder

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2016-12-06 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.