For some reason the first attempt to post this was blank, so I am trying again now, sorry.
I am writing a perl mp3 streamer, and am experiencing problems with getting it working with winamp. Basically it occasionally will block on the print which is sending the data out to the clients. This all seems to work fine but I have come across a major problem, if it is blocked on a print when winamp disconnects perl will just quit back to the shell, even if perl is loaded using a debugger. Oddly enough it does not do this if it is blocked and xmms disconnects. I am going to try to use syswrite and sysread instead of print to see if this solves the problem, but does anyone have an idea of how I can debug it to find out what is on when the whole of perl dies (with no error), even the perl debugger.