The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
sub prefork {
  print "in sub prefork\n";
  other();
}

sub other {
  print "in sub other\n";
}

sub postfork {
  print "in sub postfork\n";
  other();
}

prefork();

fork;

postfork();
other();

wait;