WSL 2 is a good option. You can run Perl under Linux and edit it using a Windows editor. It's only a bit complicated because of the file paths, as the WSL Linux runs in a VM that has the Windows filesystem mounted somewhere. But on the pro side you eliminate all the windows oddities, don't have to worry about the c-compiler or shell globbing issues.
Also there is a Bash fow windows.
holli
You can lead your users to water, but alas, you cannot drown them.