Help for this page
my $pid = open my $pipe, '-|', ... ... ... else { # actions if process not alive }