Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by kcott (Archbishop)
on Oct 25, 2012 at 12:20 UTC ( [id://1000843]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -le 'local $foo = "whatever"; print $main::foo;'
    whatever
    
  2. or download this
    $ perl -le 'our $foo = "whatever"; print $main::foo;'
    whatever
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found