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

Re^7: Can I from within a module access variables from the calling program?

by choroba (Canon)
on Oct 25, 2012 at 13:45 UTC ( #1000873=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?

OK:

  1. Declare the variable with our.
  2. In BEGIN, set its value.
  3. use the module.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


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

    And it's perfect !

    Thanks a lot choroba :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2015-09-02 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (87 votes), past polls