while( ){ if( /{/ .. /}/){ print $_; } } __DATA__ PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin */2 * * * * root test2.sh , { sub => \&test2, arguments => test2 opt, loadcheck => 2, execwhile => 3, catch => 1, after_job => test2_after_job.sh, }; */2 * * * * root \&test1 , { after_job => \&sync , };