in reply to Audio::Daemon::MPG123

well, i don't exactly understand your code and its intentions, as i never worked with the modules you use. but what i'm tripping over in your question is the word "hopefully": "so that the forked Server process and mpg123 instance would hopefully exit."
you didn't mention whether the errors can be reproduced. if they are not, but appear at random, then all that reminds me to some sort of a race condition. as if you are trying to communicate with a process, which may still be alive, but mustn't.

language is a virus from outer space.

Replies are listed 'Best First'.
Re^2: Audio::Daemon::MPG123
by dabreegster (Beadle) on May 09, 2005 at 23:37 UTC
    I've got most of it working now. Now I'm looking for somebody else to help beta test it. Also, at the bottom of the code, I commented out the code to put the song name and frame time in a file because it was a bit buggy. If anybody could help me with it, I'd be grateful. I print the frametimes every second, but it stays the same. I'll post code later, but anybody with knowledge of this module could help.