Re: Caching a hash - am I missing something?

2008-08-19 Thread W. Tyler Gee
On Tue, Aug 19, 2008 at 5:35 PM, Chris Faust <[EMAIL PROTECTED]> wrote: > Hi, > > > > This might be a little off topic, I hope it's OK to post. I'm not positive > if mod_perl matters or not because it's a little confusing to me. > > > > I've taken over some pretty old code that I'm updating and mak

Caching a hash - am I missing something?

2008-08-19 Thread Chris Faust
Hi, This might be a little off topic, I hope it's OK to post. I'm not positive if mod_perl matters or not because it's a little confusing to me. I've taken over some pretty old code that I'm updating and making mp2 content handlers out of. The main script is a standard cgi script "start.cgi

Re: mapping URI to filename.

2008-08-19 Thread Anthony R Fletcher
Perfect. Thank you. Anthony On 19 Aug 2008 at 09:53:03, Geoffrey Young wrote: > > > Anthony R Fletcher wrote: > > Thanks but that only works for the current request. I was looking for a > > way of translating some other URI to a pathname on the same server. > > $r->lookup_uri('

Re: mapping URI to filename.

2008-08-19 Thread Geoffrey Young
Anthony R Fletcher wrote: > Thanks but that only works for the current request. I was looking for a > way of translating some other URI to a pathname on the same server. $r->lookup_uri('/some/uri')->filename() http://perl.apache.org/docs/2.0/api/Apache2/SubRequest.html#C_lookup_uri_ --Geoff