my $expected_version = "0.4";
print("import: Package::Stash\n");
use Package::Stash;

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

}
print("import: Package::Stash::PP\n");
use Package::Stash::PP;

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

}
