Is your server defaulted to perl 5.26 or 5.32?
dnf module list perl
If you want to change your perl version, you can do:
sudo dnf module reset perl
sudo dnf module enable perl:5.32
But be advised that you will experience conflicts if you change the default perl version from what came with your system. Some perl modules only support 5.24, some 5.26, and some 5.32.