Date: Mon, 04 Dec 2000 22:21:59 -0800
Message-ID: <HmIL6gzkgepS092yn@efn.org>
- Harness shouldn't ignore responses like "ok 3\r\n\n".
+ Harness shouldn't ignore responses like "ok 3\r\r\n".
Branch: perl
! lib/Test/Harness.pm
____________________________________________________________________________
', "DL_VARS" => ', neatvalue($vars), ');\'
');
}
- if (%{$self->{IMPORTS}}) {
+ if ($self->{IMPORTS} && %{$self->{IMPORTS}}) {
# Make import files (needed for static build)
-d 'tmp_imp' or mkdir 'tmp_imp', 0777 or die "Can't mkdir tmp_imp";
open IMP, '>tmpimp.imp' or die "Can't open tmpimp.imp";
sub static_lib {
my($self) = @_;
my $old = $self->ExtUtils::MM_Unix::static_lib();
- return $old unless %{$self->{IMPORTS}};
+ return $old unless $self->{IMPORTS} && %{$self->{IMPORTS}};
my @chunks = split /\n{2,}/, $old;
shift @chunks unless length $chunks[0]; # Empty lines at the start