in reply to Forking child process gives me an error: Attempt to free unreferenced scalar

If you are on Windows, you shouldn't use <c>fork()/<c>. 5.6.1 has threads, so maybe you can use threads.

I recommend launching an external program/script to do the processing for each command in parallel.

  • Comment on Re: Forking child process gives me an error: Attempt to free unreferenced scalar

Replies are listed 'Best First'.
Re^2: Forking child process gives me an error: Attempt to free unreferenced scalar
by srlbharu (Acolyte) on Feb 27, 2013 at 10:48 UTC

    Can you please let me know how to create a thread to run parallelly? I tried but failed. After google, I came to know threads have been depricated in 5.6.1.

      See threads.

      If you have specific problems, please post code.