in reply to forks.pm segfault

panos80,

I just checked every distribution I have from 5.8 to 5.16 on a Debian Linux box and I don't have a 'forks.pm'. So unless this is new for a release after 5.16, I think you just have to specify 'fork'. (Notice I didn't say 'use fork'.)

UPDATE: Well I just installed 'forks' from CPAN, so my comments are all wrong!

Regards...Ed

"Well done is better than well said." - Benjamin Franklin

Replies are listed 'Best First'.
Re^2: forks.pm segfault
by panos80 (Initiate) on Jul 17, 2014 at 09:49 UTC

    So the system with the problem is a server to which I don't have root access. Which unfortunately means that I can't re-install Perl :( But I'll talk again with the admin and see if he can find a time window at which he can re-install Perl (quite a few other people are using this server).


    Also, while I could agree that the script's code isn't good enough, or that I should use threads instead of forks, the thing is that this same script runs fine on another machine!


    Many thanks for the help guys! Really appreciated!