shayak has asked for the
wisdom of the Perl Monks concerning the following question:
Their are two scripts a1.pl and a2.pl; A2.pl is called by a1.pl; Now when a2.pl is running and if it encounters a condition, i want to trigger an alarm to a1.pl; Now when the trigger is called a1.pl executes a function. In the meantime a2.pl keeps on running and keeps on sending triggers wherever required without stopping. And a1.pl runs the particular functions for the triggers. How to do this? Another info. A1.pl is in the host machine and a2.pl is in a VM. I want to know exactly how can we give the trigger(alarm)from a2.pl and catch it with the main script a1.pl?