Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (32 sloc) 1.093 kB
use strict;
use lib '.';
use inc::Module::Install;
print << '_';
*** WARNING ***
YAML::Syck version >=0.60 breaks compatibility with earlier versions of
YAML::Syck and YAML.pm (<0.60) when serializing blessed references.
See the COMPATIBILITY file for more information.
_
my $bad;
if (eval { require YAML; $YAML::VERSION < 0.60 }) {
print "*** Pre-0.60 version of YAML.pm ($YAML::VERSION) detected.\n";
$bad++;
}
if (eval { require YAML::Syck; $YAML::Syck::VERSION < 0.60 }) {
print "*** Pre-0.60 version of YAML::Syck ($YAML::Syck::VERSION) detected.\n";
$bad++;
}
if ($bad and !is_admin()) {
exit() unless prompt("Continue installing YAML::Syck?", 'y') =~ /^y/i;
}
name 'YAML-Syck';
license 'MIT';
all_from 'lib/YAML/Syck.pm';
cc_inc_paths '.';
cc_files (glob("*.c"), (-e 'Syck.c' ? () : 'Syck.c'));
# cc_optimize_flags '-g3';
can_cc or die "This module requires a C compiler";
include_deps 'Test::More';
requires 'Scalar::Util';
build_requires 'Devel::Leak' if defined $ENV{'AUTOMATED_TESTING'};
sign; WriteAll;
Jump to Line
Something went wrong with that request. Please try again.