Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
These are from my largest (and favorite) Perl application to date.
While opening a file that was there when I readdir()'d a second ago: I laughed like hell the day I saw it in a log. A little off topic, but another favorite log message - this app communicates with a child process via an open2() mechanism. If they get out of sync, bad things happen. I found they can get out of sync when the child is reporting back an error condition, so as a hack to guard against it, I just kill the child, causing a new one to be spawned when I need it next. The logged message was: Killing my child for reporting an error - call DYFS(DYFS - Department of Youth and Family Services) A few people have noticed that one in the logs. :-)
Peace, In reply to Re: How do you wanna die() ?
by McD
|
|