my $expected_version = "2.87";
print("import: SVG\n");
use SVG;

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

}
print("import: SVG::DOM\n");
use SVG::DOM;

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

}
print("import: SVG::Element\n");
use SVG::Element;

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

}
print("import: SVG::Extension\n");
use SVG::Extension;

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

}
print("import: SVG::XML\n");
use SVG::XML;

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

}
