I am explaning my function below.
I am using perl tk application to extract user input from this main program and pass the arguments from the user to child program where it connect to database and perform query.
The child program after performing the query should pass the result to the parent module.
I need some suggestion on how to perform an two way communication between 2 perl programs where each program can chnage it control from each other
saw some tips from text books on 2 way communication via use IO::Handle but its very hard to grasp its concept