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