multithreading - Load modules in Perl at run time and share it between threads -
is possible load modules @ run time, require '/file_path/file_name.pm';
, , share memory between threads?
basically, have pool of threads, if thread#1 decides load module, want module available threads!
"no, it's not possible. either module must loaded before thread created, or each thread must individually load module."
thanks dave mitchell 1
Comments
Post a Comment