mbond has asked for the wisdom of the Perl Monks concerning the following question:

As of right now i do most of my developing in perl for Linux and Windows NT. All of our servers are running NT.

My problem is that everyonce in a while someone else needs/wants use my perl scripts for something they are doing but have no idea what cpan is.

Is there an easy way to distribute cpan modules, preferable both NT and Linux, with a simple install script?

Its a real bummer having to go around to everyone's computer when i finish something.

Mbond.

Replies are listed 'Best First'.
Re: Distributing Scripts
by arturo (Vicar) on Apr 05, 2001 at 18:18 UTC

    Check out the CPAN module's "autobundle" facility. It allows you to replicate your installed module set as an installable bundle. On second thought, there might be portability problems between NT and *nix with that (PPM vs. CPAN.pm's CLI). Well, it's a start anyhow =)

    HTH

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

      Shouldn't be a problem -- I've run both CPAM.pm and PPM on the same system. In the end, all either one is doing is copying files into your Perl modules directories, and neither one cares what the other is doing (which is a strong argurment for an overall "what modules do I have" mangement tool, but that's a different story...)

      ----Asim, known to some as Woodrow.

        There is such a beastie in The Perl Cookbook, and the code's available from the ORA website.

        Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: Distributing Scripts
by jplindstrom (Monsignor) on Apr 06, 2001 at 05:47 UTC
    For Windows, take a look at PerlApp which is a part of ActiveState's Perl Dev Kit. You can create standalone .exe files with no dependencies, which is kind of nice since you don't even have to worry about Perl being installed on your colleagues' computers.

    Very handy in my experience, since you can reach people who never would have taken the trouble otherwise. That's a good thing.

    /J