in reply to killing process...or limiting it's cpu time

belg4mit is sooooo right about the security risk ... but if you mst do this, i suggest the following :

$ perl -e 'do() || ! do() ;' Undefined subroutine &main::try