The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package NoFork;

BEGIN {
    *CORE::GLOBAL::fork = sub { die "you should not fork" };
}
use Config;
tied(%Config)->{d_fork} = 0;    # blatant lie

=begin TEST

Assuming not to much chdir:

  PERL5OPT='-It/lib -MNoFork' perl -Ilib bin/prove -r t

=end TEST

=cut

1;

# vim:ts=4:sw=4:et:sta