my $expected_version = "4.11";
print("import: JSON::PP\n");
use JSON::PP;

if (defined JSON::PP->VERSION) {
	my $given_version = JSON::PP->VERSION;
	$given_version =~ s/0+$//;
	die('Expected version ' . $expected_version . ' but found ' . $given_version) unless ($expected_version eq $given_version);
	print('	using version ' . JSON::PP->VERSION . '
');

}
print("import: JSON::PP::Boolean\n");
use JSON::PP::Boolean;

if (defined JSON::PP::Boolean->VERSION) {
	my $given_version = JSON::PP::Boolean->VERSION;
	$given_version =~ s/0+$//;
	die('Expected version ' . $expected_version . ' but found ' . $given_version) unless ($expected_version eq $given_version);
	print('	using version ' . JSON::PP::Boolean->VERSION . '
');

}
