the bigger picture is that i have to run a couple of perl scripts in which Script A will call script B but in order to run script B, it needs to have the same values or input that i had input in to script a.
overall script A is a list of tests that are done separately and script B is a test where the tests are done one after the other in a combination. all i have to do is to connect it so that i just need to run one script then choose my options from then on. i cannot use subroutines for most of the script because the same variables are used everywhere and when i tried using pass by reference(\) i was getting a result but that result was not returned. so i thought just make script B and then call it from script A. but i need the hash variable from script a in script b so that script B works fine