CORBA-omniORB
view release on metacpan or search on metacpan
omnithreads/t/problems.t view on Meta::CPAN
no warnings 'deprecated'; # Suppress warnings related to :unique
use Hash::Util 'lock_keys';
my $test :shared = 2;
# Note that we can't use Test::More here, as we would need to call is()
# from within the DESTROY() function at global destruction time, and
# parts of Test::* may have already been freed by then
sub is($$$)
{
my ($got, $want, $desc) = @_;
lock($test);
if ($got ne $want) {
print("# EXPECTED: $want\n");
print("# GOT: $got\n");
print("not ");
}
print("ok $test - $desc\n");
$test++;
( run in 1.040 second using v1.01-cache-2.11-cpan-65fba6d93b7 )