[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
>
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:
.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 >
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
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
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
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.