> Perl is not memory safe
Perl is memory safe.
> loaded with security issues for over a decade.
According to CVE reports, it doesn't appear that Perl [0] is less secure than Python [1]:
[0]: https://www.cvedetails.com/vendor/1885/Perl.html
[1]: https://www.cvedetails.com/vendor/10210/Python.html