On Thu, Dec 2, 2010 at 3:38 AM, Mithun Bhattacharya <inz...@yahoo.com> wrote:
> Can you confirm the error you are encountering using your current method ?
>
> I would like to understand what you are trying to achieve by having a global 
> file handle - do you want to have modular code or does the content of the 
> file somehow determine which handler to be used ?
>

Hi,

Thanks for the replying.
I was giving the example by openning a file.
In acutal I was using this module:

http://search.cpan.org/~sunnavy/IP-QQWry-0.0.16/lib/IP/QQWry.pm

For each client request if I open the data file:

my $qqwry = IP::QQWry->new('QQWry.Dat');

That will be slow IMO.

So I was thinking to pre-open the data file in each process of apache
and use it directly in each handler.

How about this case? Thanks.

Regards.

Reply via email to