3
use Test::More tests => 1;
5
# XXX: Code taken from namespace::clean's t/07--debugger.t
10
# Apparently we can't just skip_all with -d, because the
11
# debugger breaks at Test::Testers END block.
19
push(@DB::typeahead, 'c');
22
push(@DB::typeahead, 'q');
24
open(my $out, '>', \my $out_buf) or warn "Could not open new out handle - $!";
26
open(my $in, '<', \my $in_buf) or warn "Could not open new in handle - $!";
36
delete $INC{'Person1.pm'};
38
eval { require Person1 };
40
ok(!$@, 'double load');