in reply to Re^2: Defining global variable in a subroutine
in thread Defining global variable in a subroutine
This also will work in a forked environment, since the global 'our' variable is in the address space of the parent.
Could you elaborate what you mean by that?
Almost sounds like you are saying the child process could modify the variable in the parent process. If so, I'd like to see a demo.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Defining global variable in a subroutine
by flexvault (Monsignor) on Feb 22, 2012 at 15:09 UTC | |
by dave_the_m (Monsignor) on Feb 22, 2012 at 16:21 UTC | |
by Eliya (Vicar) on Feb 22, 2012 at 16:24 UTC | |
by flexvault (Monsignor) on Feb 23, 2012 at 10:14 UTC | |
by choroba (Cardinal) on Feb 23, 2012 at 10:23 UTC | |
by flexvault (Monsignor) on Feb 23, 2012 at 10:30 UTC | |
| |
by zwon (Abbot) on Feb 23, 2012 at 11:35 UTC |