How do you choose best company for android app development?
Amyrivers - Oct 17 2017 01:24 AM
Include a specific error, task, problem, or question in your title
Kriss - Sep 27 2017 03:42 AM
Why password_verify Not Passing The Verification ?
uniqueideaman - Sep 20 2017 05:48 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Waiting For Next Stepwait
Posted 16 July 2012 - 11:39 AM
In my perl project, I have a subroutine call to a subroutine in the same file. This subroutine that may take few seconds before ending all its tasks and the program doesn't wait to continue executing the following lines even if the subroutine isn't done yet. The problem is that it cases confusion on nearly if blocs because the subroutine is closing some extra windows of one application. Then the next line starts a new fresh window of the same application. I close the others before to ultimately avoid confusion. Then I check if all went well, but the subroutine isn't done yet closing the windows if there were any. So my program dies anyway. Is there any way to force Perl to wait until this subroutine is entierly done closing the said windows before going on with creating a new one?
Thanks to the friendly gentlemen that will take their time to consider my problem