in reply to backticks stop working

It sounds like perl isn't getting a chance to close the pipes from the backtick'd commands and is leaking file descriptors. You might be better off doing a fork/exec yourself, or perhaps using IPC::Open2 or IPC::Run and explicitly closing handles yourself.

Replies are listed 'Best First'.
Re: Re: backticks stop working
by Anonymous Monk on Nov 09, 2001 at 01:53 UTC
    Are there any variables or something that I can look at to confirm this. I know there's the $^F, but it's of no value.

      If you've got something like lsof available you could use it to check from outside your program. Inside your program the only way I can think of offhand would be to open something (/dev/null or the like) and then use fileno on that handle and see if the file descriptors are steadily increasing (which would probably mean you've got a leak).