On 1/30/06, Chris Knipe <[EMAIL PROTECTED]> wrote:

> Last time I checked, perl's threads wasn't very popular to use.  Now that's
> a discussion on it's own I guess, and not the intensions of this email to
> get into.  I'm planning to develop a rather large perl application.  Due to
> complexity, I plan to run multiple processes, each process being spawned
> from a single main process...  Is there any way that I can share data
> between them?

Lots of ways. Here's one that's worked for me. The shared data live in
some convenient location, like a directory, a file, or a database,
depending upon your needs. A little glue code in a module handles
access to the data in a consistent way, maybe using something from the
Tie::* hierarchy to provide a simple interface.

Is that enough to get you started? Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to