Unable to install AWStats

I tried to install but get:
Problem: conflicting requests

  • nothing provides perl(Switch) needed by awstats-7.8-2.el8.noarch
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

I tried --skip-broken, but then it doesn’t work and many of the files are missing

Any suggestions?