develooper Front page | perl.ithreads | Postings from July 2011

Load modules in Perl at run time and share it between threads - StackOverflow Question

Thread Next
From:
Pedro Cirne
Date:
July 1, 2011 20:11
Subject:
Load modules in Perl at run time and share it between threads - StackOverflow Question
Message ID:
CAM7JjiL1ESbCJgndzPG1BM0+GL8UGh0_xpZ6DVr6DWP+3bM8pA@mail.gmail.com
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About