{ local *PID; open( PID, ">/tmp/mydaemon/$$" ) or warn "pid file: $!\n" }