Description
Perl programs can inspect and manipulate PATH-like environment variables with higher-level operations. It is useful for build scripts, launchers, and tools that need reliable path editing.
Changing PATH can alter which commands run and can create security risk if untrusted directories are added. Preserve order deliberately.