Re: load large data

2007-09-30 Thread Philippe M. Chiasson
[EMAIL PROTECTED] wrote: > Hello, > > I have a module,which loads large data into memory. > > my $data = Mymodule->new; > > this will take some ms to be finished. And consume large amounts of RAM too I would imagine. > So I think I can create this object at startup time,and share the $data >

Re: load large data

2007-09-25 Thread Manoj Bist
module from CPAN.I can't > modify it to add the init() and data() methods. > How to do it then?thanks again. > > -Original Message- > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: modperl@perl.apache.org > Sent: Tue, 25 Sep 2007 4.52PM > Subject: Re:

Re: load large data

2007-09-25 Thread pennyyh
.52PM Subject: Re: load large data [EMAIL PROTECTED] wrote:  Thank you.  I have added these directives in httpd.conf,  >   use Mymodule;  our $data = Mymodule->new;    > Then I run bin/apachectl configtest,but got the errors,  > Unknown type 'Mymodule' for directive data at >

Re: load large data

2007-09-25 Thread Fred Moyer
eturns the object created during # startup HTH, Fred -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: modperl@perl.apache.org Sent: Tue, 25 Sep 2007 1.42AM Subject: Re: load large data On Mon, 24 Sep 2007 06:08:45 -0400 [EMAIL PROTECTED] wrote: Hello, I have a mo

Re: load large data

2007-09-25 Thread pennyyh
o ns.pm line 192.\n Please help.Thanks. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: modperl@perl.apache.org Sent: Tue, 25 Sep 2007 1.42AM Subject: Re: load large data On Mon, 24 Sep 2007 06:08:45 -0400 [EMAIL PROTECTED] wrote: Hello, I have a module,whic

Re: load large data

2007-09-24 Thread Frank Wiles
On Mon, 24 Sep 2007 06:08:45 -0400 [EMAIL PROTECTED] wrote: > Hello, > > I have a module,which loads large data into memory. > > my $data = Mymodule->new; > > this will take some ms to be finished. > > So I think I can create this object at startup time,and share the > $data acrosss all apache

load large data

2007-09-24 Thread pennyyh
Hello, I have a module,which loads large data into memory. my $data = Mymodule->new; this will take some ms to be finished. So I think I can create this object at startup time,and share the $data acrosss all apache child processes. Is it possible?How can I do it? thank u.