Load modules in Perl at run time and share it between threads - Stack Overflow Question
[email protected] (Pedro Cirne) Sat, 2 Jul 2011 03:45:39 +0100
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <CAM7JjiL1ESbCJgndzPG1BM0+GL8UGh0_xpZ6DVr6DWP+3bM8pA@mail.gmail.com> |
--90e6ba61372027a6f104a70d21b5 Content-Type: text/plain; charset=ISO-8859-1 Is it possible to load modules at run time, require '/file_path/file_name.pm ;' , and share the memory between threads? Basically, I have a pool of threads, if thread#1 decides to load a module, I want the module available to all the threads! http://stackoverflow.com/q/6553598/758523 --90e6ba61372027a6f104a70d21b5--