Hi fuzero, welcome to LQ!
that seems to happen because you seem to have installed custom perl modules and binaries in a custom PATH: as your "perl -V" output states you have these variables in your environment
Code:
%ENV:
PERL5LIB="/root/perl5/lib/perl5"
PERL_LOCAL_LIB_ROOT="/root/perl5"
PERL_MB_OPT="--install_base "/root/perl5""
PERL_MM_OPT="INSTALL_BASE=/root/perl5"
@INC:
/root/perl5/lib/perl5/5.34.0/x86_64-linux-thread-multi
/root/perl5/lib/perl5/5.34.0
/root/perl5/lib/perl5/x86_64-linux-thread-multi
/root/perl5/lib/perl5
that I don't have in a standard perl installation.
those environment variables conflict with what is specified in the perl-Pod-Parser Slackbuild
Code:
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
as there the PREFIX=/usr parameter is specified too.
perl-Archive-Extract.SlackBuild works because it doesn't use PREFIX, and perl-Module-Build.SlackBuild works because it overwrites some of your environment variables (but in the end doesn't respect your custom perl stuff preferences).
for your issue I suggest you either to install everything perl-* you need via SlackBuilds.org (the best solution, to have tracking also of the installed stuff) or, depending also by the availability of what you need, to manage everything perl-* you need without SlackBuild packages in your custom location, but not both or it will result in a mess.
if you choose the first way you will have to add the missing stuff writing yourself dedicated SlackBuilds.