For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-P/openSUSE_Tumbleweed/devel:languages:perl:CPAN-P.repo
zypper refresh
zypper install perl-Package-Stash-XS
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-P/15.5/devel:languages:perl:CPAN-P.repo
zypper refresh
zypper install perl-Package-Stash-XS
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl:CPAN-P/15.4/devel:languages:perl:CPAN-P.repo
zypper refresh
zypper install perl-Package-Stash-XS