http://qs321.pair.com?node_id=426314


in reply to Re: Isolating dynamically loaded modules with Thread::Isolate.
in thread Isolating dynamically loaded modules with Thread::Isolate.

I say to you: "Have you ever looked at the async call in threads?"

async(&;@) is just an alias to:

threads->new( sub {...} );
What we are doing here is a thread that can be used externally, I can call things from outside inside this thread. Now a normal thread in Perl is just a sub that is called, and what happens after this we don't know or control.

In a normal Perl thread, after create it, we can't say externally to load some modules or to call functions inside it, and this is the point here!

Graciliano M. P.
"Creativity is the expression of liberty".