in reply to A Home For Perl Modules
Why not load Perl modules from an HTTP server? I know this sounds a little odd, but the Java community started this practice to publish standard libraries that applications servers (not just J2EE stuff) could pull the most recent code from a known place on startup. Java uses an HTTP class loader (similar to Applets) for this.
I don't have time to search CPAN for this, but I would assume that this would be pretty easy to do with Perl and that someone has already done it. If not, it seems that some startup code could be run to:
- 1.Get a list of files from a CGI or SOAP script.
- 2.Download each file path that is returned (from any HTTP source).
- 3.Place them in some local directory.
- 4.Add this directory to Perl's library path.
- 5.Start running the rest of your code.
An idea anyway (and one that should work on Win32 without a problem).
Cheers,
John
In Section
Seekers of Perl Wisdom