First question: why do you want to avoid forking and threads?

Second question: Are you saying you want the subroutine to run in a process
which doesn't have the module as a parent?

On Mon, Jul 6, 2015 at 5:43 PM, Unknown User <knowsuperunkn...@gmail.com>
wrote:

> What is a good way to fire and forget a sub from a module in perl, in a
> non blocking mode, preferably without forking or using threads.
> I may have to run the sub a few times to determine the approx delay for it
> to run, so i suppose i need a blocking mode for it too. But afterwards, it
> can run in non blocking mode.
>
> - Unknown
>



-- 
Andrew Solomon

Mentor@Geekuni http://geekuni.com/
http://www.linkedin.com/in/asolomon

Reply via email to