in a module NET.pm. There is a subroutine in this module which fills the array with suitable values. This subroutine is called from Main_Input.pl.After calling this subroutine, the control returns back to Main_Input.pl. Now, when I call the subroutine in NET.pm again, the data in the array variable is lost. I have tried using
in NET.pm, but of no avail. I want the array to retain its data till the time program is being run, until and unless that specific subroutine to fill the array is called. Please help...