With Perl we fixed that security risk earlier (3 years ago) and better. The path of the script is never added to the global script path anymore. This fixed all these attacks automatically. If the script was in /tmp, ~/Downloads or just ~/.
We don't need to warn our users to take care, they won't. Most of them don't even read such best practice warnings.