in reply to checking if daemon is running

Is not a 'perlish' (sorry to perlmonkers-purists for this hibrid), but it is a one line solution:
perl -e '( system("test -e /var/run/process_email.pid && ps nh -p`cat +/var/run/process_email.pid` >& /dev/null") == 0 ) or print "Not Runni +ng!\n";'

^_^>

perl -Te 'print map { chr((ord)-((10,20,2,7)$i++)) } split //,"turo"'