/usr/share/perl5/Test/Spec/SharedHash.pm is in libtest-spec-perl 0.54-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | package Test::Spec::SharedHash;
use strict;
use warnings;
use Tie::Hash;
use base qw(Tie::StdHash);
# a semaphore
our $Initialized = 0;
our %STASH;
sub TIEHASH {
my $class = shift;
my $ref = \%STASH;
bless $ref, $class;
return $ref;
}
sub reset {
%STASH = ();
}
1;
|