our @EXPORT = qw(test_harness pod2man perllocal_install uninstall
warn_if_old_packlist);
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
my $Is_VMS = $^O eq 'VMS';
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
use File::Spec;
require ExtUtils::Liblist::Kid;
# Broken out of MakeMaker from version 4.11
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
use Config;
use Cwd 'cwd';
use strict;
use ExtUtils::MakeMaker::Config;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::Liblist;
require ExtUtils::MakeMaker;
package ExtUtils::MM_AIX;
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
package ExtUtils::MM_Any;
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
use Carp;
use File::Spec;
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
=item os_flavor
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
=head1 NAME
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
sub new {
die <<'UNSUPPORTED';
use ExtUtils::MakeMaker::Config;
use File::Basename;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);
use ExtUtils::MakeMaker qw(neatvalue);
use File::Spec;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
package ExtUtils::MM_QNX;
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
package ExtUtils::MM_UWIN;
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
# If we make $VERSION an our variable parse_version() breaks
use vars qw($VERSION);
-$VERSION = '6.47_01';
+$VERSION = '6.47_02';
require ExtUtils::MM_Any;
our @ISA = qw(ExtUtils::MM_Any);
use File::Basename;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
package ExtUtils::MM_VOS;
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
$ENV{EMXSHELL} = 'sh'; # to run `commands`
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);
use strict;
require ExtUtils::MM;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
our @ISA = qw(ExtUtils::MM);
{
my @Prepend_parent;
my %Recognized_Att_Keys;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
# Emulate something resembling CVS $Revision$
(our $Revision = $VERSION) =~ s{_}{};
use strict;
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
use Config ();
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
my $Have_Bytes = eval { require bytes; 1; };
use strict;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
my $IsVMS = $^O eq 'VMS';
# There's just too much Dynaloader incest here to turn on strict vars.
use strict 'refs';
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
require Exporter;
our @ISA = ('Exporter');
our @ISA = qw(Exporter);
our @EXPORT = qw(&Mksymlists);
-our $VERSION = '6.47_01';
+our $VERSION = '6.47_02';
sub Mksymlists {
my(%spec) = @_;
# ----- META.yml output -----
{
my $distdir = 'Min-PerlVers-0.05';
+ $distdir =~ s{\.}{_}g if $Is_VMS;
+
my $meta_yml = "$distdir/META.yml";
my @make_out = run(qq{$make metafile});
END { rmtree $distdir }
use strict;
use warnings;
-our $VERSION = 6.47_01;
+our $VERSION = 6.47_02;
use Cwd;
use File::Spec;
use strict;
use Config;
-use vars qw($VERSION @ISA @EXPORT);
-
require Exporter;
-@ISA = qw(Exporter);
+our @ISA = qw(Exporter);
-$VERSION = 0.04;
+our $VERSION = 0.04;
-@EXPORT = qw(which_perl perl_lib makefile_name makefile_backup
- make make_run run make_macro calibrate_mtime
- setup_mm_test_root
- have_compiler slurp
- );
+our $Is_VMS = $^O eq 'VMS';
+our $Is_MacOS = $^O eq 'MacOS';
-my $Is_VMS = $^O eq 'VMS';
-my $Is_MacOS = $^O eq 'MacOS';
+our @EXPORT = qw(which_perl perl_lib makefile_name makefile_backup
+ make make_run run make_macro calibrate_mtime
+ setup_mm_test_root
+ have_compiler slurp
+ $Is_VMS $Is_MacOS
+ );
=head1 NAME
=item slurp
- $text = slurp($filename);
+ $contents = slurp($filename);
+
+Returns the $contents of $filename.
-Returns the contents of a file if it can be read, otherwise undef.
-Contents of excessively large files are truncated to a couple of
-kilobytes, though.
+Will die if $filename cannot be opened.
=cut
sub slurp {
my $filename = shift;
- my $text = undef;
- local *FH;
- local $/ = \8192;
- if (open FH, $filename) {
- $text = <FH>;
- close FH;
- }
+
+ local $/ = undef;
+ open my $fh, $filename or die "Can't open $filename for reading: $!";
+ my $text = <$fh>;
+ close $fh;
+
return $text;
}