develooper Front page | perl.perl6.internals | Postings from August 2001

Modules, Versioning, and Beyond

Thread Next
From:
Hildo.Biersma
Date:
August 2, 2001 04:52
Subject:
Modules, Versioning, and Beyond
Message ID:
15207.9502.199515.475447@axolotl.ms.com
>>>>> "Bryan" == Bryan C Warnock <bwarnock@capita.com> writes:

Bryan> Using Multiple Versions Of The Same Module In One Program

Bryan> There are a lot of reasons why this isn't a good idea, or even
Bryan> possible in places.  Non-Perl code on the backend, for
Bryan> instance, will probably prevent multiple versions from being
Bryan> linked in.  But since we're doing more and more in Perl, I'll
Bryan> bring it up.  If you are already convinced this is a Bad Idea,
Bryan> then feel free to skip this section.

Bad idea as this may be, it is actually required in some cases.

Specifically, if I am running an Apache server with mod_perl, I would
like different scripts to able to refer to conflicting versions of the
DB_File or Storable modules.  Actually, that is even useful in a
conversion script...

Now, I would not mind if this required some ClassLoader-like trickery
- if doesn't have to be easy, but it should be possible.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About