Hello,

I am trying to pull remote host/addresses in an Apache2 w mod_perl environment. 
Here is what I am trying without luck

% my $conn = $r->connection() ;
% print $conn->local_host() ;
% print $conn->remote_host() ;
% print $conn->remote_ip() ;

I get 'cant locate object method...' on my error message. Although the 
Apache2::Connection pod documentation shows this to be a reasonable approach 
and my Dumper() shows I get an Apache2::Connection object. 
Am I missing something ?


 ------------------------------
Apu Islam
( E Pluribus Unum)


----- Original Message ----
From: Alfie John <[EMAIL PROTECTED]>
To: Ryan <[EMAIL PROTECTED]>
Cc: Mason-Users <Mason-users@lists.sourceforge.net>
Sent: Sunday, June 15, 2008 1:15:53 AM
Subject: Re: [Mason] persistence

Hi Ryan,

You might want to have a look at Mason's caching abilities:

  http://masonhq.com/docs/manual/Devel.html#data_caching

Alfie

On Sun, Jun 15, 2008 at 1:25 PM, Ryan <[EMAIL PROTECTED]> wrote:
> First, this may be somewhat off the topic, sorry.
>
> I've been working a lot recently with large hashes for a medical
> charting application.  The data is difficult to compute, so I cache it
> as a JSON string in a database, then work with it in perl and/or
> Javascript.  The problem is it's a large piece of data - typically
> 400KB or more.
>
> I want to avoid pulling that from the database every time I need a
> piece of information from it, is there anyway to do across requests?
> Even if I could keep it in memory for 5 minutes that would be better.
> Some times I need just the labs, sometimes just prescription
> histories, etc,  so it doesn't make sense to pull the whole thing from
> the DB.
>
> Any suggestions?
>
> Thanks!
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to