anshumangoyal has asked for the
wisdom of the Perl Monks concerning the following question:
I have a perl solution where in a folder there is a script (start.pl) and two folders (Folder1 and Folder2) inside the parent folder. The start.pl forks a process in which it calls scripts from folder1 and folder2 randomly. I want a Global Variable to be defined in start.pl which should be available in forked process (Please note the Forked File is inside folder not on same path as start.pl). Also if the forked process updates that global variable that should be available (updated) for next forks that will happen. I have tried everything but nothing works except writing the value of variable in a file and then reading it. Is there any way out?