Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^12: Defining global variable in a subroutine

by flexvault (Monsignor)
on Feb 23, 2012 at 12:06 UTC ( [id://955715]=note: print w/replies, xml ) Need Help??


in reply to Re^11: Defining global variable in a subroutine
in thread Defining global variable in a subroutine

JavaFan,

    I've no idea which explanation you are referring to.

You referred to a way to share variables using Exporter. What I was referring to was the possibility that we accidentally created an environment that worked because Exporter was used by one of the applications that we used. It was only a guess.

I will try to find a script that demonstrates the sharing.

Thank you

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re^12: Defining global variable in a subroutine

Replies are listed 'Best First'.
Re^13: Defining global variable in a subroutine
by JavaFan (Canon) on Feb 23, 2012 at 13:23 UTC
    Exporter has nothing to do with forking. Exporter is a way to share symbols between modules. It does not facilitate sharing data between processes.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found