On Mon, 26 Mar 2001, Fredrik Sjoholm wrote:

>
> It's well known that Apache::Registry will load and compile the same
> script multiple times when a site contains Apache::Registry scripts in
> mutliple directories, symlinked and aliased to different URLs (perhaps as
> a means of different levels of access restriction to the same scripts).
>
> An easy (and efficient) way of avoiding this is to map the virtual Apache
> perl module name to the underlying file's inode#, instead of its URL.
> As an extra bonus, this makes pre-loading scripts a breeze, because you
> no longer need to write a complex translation callback to map between
> filenames and URLs.

It's a refreshing idea. Is this solution cross-platform?

The latest policy is mod_perl-1.3 doesn't accept any new features and
provides only bug fixes. All the development goes into 2.0.

Still you can subclass Apache::PerlRun and provide your own method for
the unique namespace package generation.


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to