|Think about Loose Coupling|
How to share a group of functions with multiple main processes?by ThelmaJay (Novice)
|on Nov 19, 2013 at 16:18 UTC||Need Help??|
ThelmaJay has asked for the
wisdom of the Perl Monks concerning the following question:
how can I share the same group of functions with different processes without having make copies of the same code.
Imagine I have a file printVar.pl with the content:
and two processes:
Now I would like to run both processes at the same time.But when I run one first the other blocks.
Is there a way to share resources between processes without interference.