At 16:57 29/03/2001 +0800, Stas Bekman wrote:
>On Mon, 26 Mar 2001, Fredrik Sjoholm wrote:
>> 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?

No, win32 has no notion of inodes and C<stat> always returns 0 for the
inode number, so people running under Apache::Registry there would still
need to use something else to generate the namespace. However, I don't
think that Apache understands win32's "shortcuts" so the original problem
doesn't exist there.

In any case it sure is an interesting idea, and I think it could be used
elsewhere too.

-- robin b.
"What I like about deadlines is the lovely whooshing sound they make as
they rush past." --Douglas Adams

Reply via email to