open(my $pfh, ">&", "STDOUT") or die("$0:ERROR Unable to redirect output to STDOUT. ERR: $?/$!\n"); my %conf = ( maxchilds => '20', waitforchilds => '180', mhandle => $pfh, ); print Dumper \%conf; my $fmo = fmanager->new(\%conf); print Dumper $fmo; $fmo->set_mhandle($pfh); print Dumper $fmo;