in reply to Re: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
in thread "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
I don't know if I understand right, but the code seems to me the thread is based on code that resides in the same file as caller AND this thread will execute subroutine "c" in module B?
threads->new(sub { "B::c", $dummy++ })->join;I really want to run a thread based on codes in different files other than the caller.
|
|---|