share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
problem is that reference to object created in startup.pl was lost then the question is ... is possible to share objects? I know I can share data between processes, but what I also shared objects? thanks in advance

Re: share objects

2008-04-03 Thread Jeff Pang
tup.pl because i want to share it. After some test > (stress it) for my application I saw some error in error.log; the problem is > that reference to object created in startup.pl was lost > > then the question is ... is possible to share objects? > If your object has its own package

Re: share objects

2008-04-03 Thread Perrin Harkins
On Thu, Apr 3, 2008 at 11:32 AM, Felipe de Jesús Molina Bravo <[EMAIL PROTECTED]> wrote: > I know I can share data between processes, but what I also shared objects? It depends on what you mean by share. You can create a simple perl object in startup.pl and access it from all processes later, but

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
ycat::DBXML) from dbxml; then I create an object (reference > to > > Sleepycat::DBXML) in startup.pl because i want to share it. After some > test > > (stress it) for my application I saw some error in error.log; the > problem is > > that reference to object created in startu

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
2008/4/3, Perrin Harkins <[EMAIL PROTECTED]>: > > On Thu, Apr 3, 2008 at 11:32 AM, Felipe de Jesús Molina Bravo > <[EMAIL PROTECTED]> wrote: > > > I know I can share data between processes, but what I also shared > objects? > > > It depends on what you mean by share. You can create a simple perl >

Re: share objects

2008-04-03 Thread Perrin Harkins
On Thu, Apr 3, 2008 at 1:33 PM, Felipe de Jesús Molina Bravo <[EMAIL PROTECTED]> wrote: > > It depends on what you mean by share. You can create a simple perl > > object in startup.pl and access it from all processes later, but if > > you change it in one process, the change will not be seen in th

Re: share objects

2008-04-03 Thread Felipe de Jesús Molina Bravo
2008/4/3, Perrin Harkins <[EMAIL PROTECTED]>: > > On Thu, Apr 3, 2008 at 1:33 PM, Felipe de Jesús Molina Bravo > <[EMAIL PROTECTED]> wrote: > > > It depends on what you mean by share. You can create a simple perl > > > object in startup.pl and access it from all processes later, but if > > > you c