Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by choroba (Abbot)
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
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 examining the Monastery: (12)
As of 2014-07-30 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls