in reply to Re^2: Shared memory and asynchronous access
in thread Shared memory and asynchronous access

mon2.pl in the main script is met to be monitored.pl

exec( $^X, 'monitored.pl', $port ) if ( $pid == 0 );