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.
The benefit is your local Perl installations would only need a boot loader to pull the rest of the files down to run. You only need to publish your application code to some HTTP server and write a CGI/SOAP script to list them.
An idea anyway (and one that should work on Win32 without a problem).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.