On my Windows 11 machine I had to restart my Console window to have it running finely.
It was reading the path from another folder in c:/Users/administrator/AppData/Local/activestate/cache/
where there is not just one. It’s possible to see which one contains the module folders needed, as you would have already been installing some by state install <Module-Name>
Then when I have been running perl -V
I can now see the right paths on @INC variable on the bottom of that list.
I was able to create a Windows Environment Variable too with the simplest procedure by the GUI on Windows it is so possible to just add a new variable called PERL5LIB containing the string of the path of the right module directory. I wasn’t needing it in the end in any case.
Remeber to restart your Console window