For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-T/openSUSE_Tumbleweed/devel:languages:perl:CPAN-T.repo
zypper refresh
zypper install perl-Tie-RefHash-Weak
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-T/15.6/devel:languages:perl:CPAN-T.repo
zypper refresh
zypper install perl-Tie-RefHash-Weak
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-T/15.5/devel:languages:perl:CPAN-T.repo
zypper refresh
zypper install perl-Tie-RefHash-Weak
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-T/15.4/devel:languages:perl:CPAN-T.repo
zypper refresh
zypper install perl-Tie-RefHash-Weak