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.
In reply to Re^3: Defining global variable in a subroutine
by Eliya
in thread Defining global variable in a subroutine
by bihuboliya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |