This is the way! I did this recently with a recent Win11 Pro installation.
This is also the proper way to name the user’s folder yourself instead of letting Microsoft decide. The auto namer often makes poor choices and renaming it breaks a lot of stuff unless you wipe and reinstall.
Well there’s your problem! (just kidding)
Honestly though I don’t know why you would pick Perl unless you want to learn an obscure language that is both painful to read and write. May $deity have mercy on your soul.