in reply to FileHandle->close() is not closing everything

$fh->open("ogg123... | lame... &");
Uhh, that's a very odd file name you have there. I don't think you're doing what you think you're doing. You should check the status of your open, and include the $! variable in any message if the open fails. See the open documentation for samples (or 'perldoc -f open'). (update: I realize its a FileHandle object, but the open method is just a front end to the open function).

Replies are listed 'Best First'.
Re: Re: FileHandle->close() is not closing everything
by Anonymous Monk on Mar 28, 2003 at 14:41 UTC
    Amazingly enough, it works. What's not working is the close. The close() does not tear down ALL of the processes.
      Amazingly enough, it works
      Not really, according to your reply to Abigail-II below, you are doing a pipe open. The above code is not doing that. See my reply elsewhere for a link to something which might work for you.