# fix for MatrixSSL DLL compilation/linking warnings if ($^O =~ /Win32/) { open my $f, '<', $mxbase.'/core/osdep.h' or die "open: $!"; my $h = join q{}, <$f>; close $f or die "close: $!"; $h =~ s{__declspec\(dll\w+\)}{}g; open $f, '>', $mxbase.'/core/osdep.h' or die "open: $!"; print {$f} $h; close $f or die "close: $!"; }
my $message; BEGIN { $message = <<'EOF';
********************************* ERROR ************************************
This module uses Dist::Milla for development.
This Makefile.PL should not be used for building dists.
Building a dist should be done with 'milla build'.
Releasing should be done with 'milla release'.
****************************************************************************
EOF $message =~ s/^([^\n]*)$/\t\$(NOECHO) echo "$1";/msg; }
sub dist_core { return <<EOF dist : $message EOF }