I don’t use Perl really any more. Either Bash is quite adequate or Python or C should be used.
http://www.xed.ch/lwm/securitynotes.html