in reply to CPU Limitation

This is not Perl issue; nevertheless take a look at tlpd.org books and especially the chapter Linux Limiting and Monitoring Users. You have to modify limits.conf in /etc/security according to your needs.