Update our documentation, build configuration, and setup scripts to make Perl optional. Closes #18152.