in reply to modules out of the box

Perhaps a solution would be to compile your program as an executable? You could distribute the source with the binary and just document the fact that it uses modules which have to be present if the user wants to recompile with changes. It would work out of the box, but for those that want to tinker, the source is there.

Replies are listed 'Best First'.
RE: RE: modules out of the box
by clemburg (Curate) on Sep 06, 2000 at 21:06 UTC
    I think a good option would be to copy the modules you need into your namespace, and prepend any reference to them with your namespace in the code (clean option), or to prepend the path to your namespace to your @INC at runtime, so your modules will be loaded first (hack, not recommended).

    Just as an aside, in Germany there is a very successful commercial content management system called imperia implemented in Perl that does just this to include its share of modules from the CPAN.

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com