Help for this page
system("ls -l > ls.out"); # you gonna have to wait system("ls -l > ls.out &"); # the command goes into the # background
my $pid = fork; die "Fork failed me!\n" if !defined($pid); ... } # I'm the parent! sleep 5; #or whatever