in reply to (wx)?Perl - Calling methods of parent class, checking variables in child process after fork
As for the fork() question: you can't modify any state in any parent process from a child process directly (update: or vice versa). You'll have to use the same mechanisms that you'd use to communicate between "unrelated" processes, though there are a few methods to simplify setting up the communication between parent and child processes. See perlipc and perlopentut for starters.
|
|---|