UPDATE :
Of course, the main Perl vulnerability, is the bad programming practices...
This is often NOT related to Perl. Some scripts are "known" to be poorly coded
(see all the discussions about Matt's script archive or better the davorg's project to rewrite them properly...)