in reply to Detecting if Perl is installed and which version

The trouble with PAR is that it turns my 20k Perl script into a 1MB exe. That seems a bit silly. Now deploy seven different scripts - and you are quickly starting to look pretty stupid shipping an 7MB installer - with 7 different perls. :)


Replies are listed 'Best First'.
Re^2: Detecting if Perl is installed and which version
by BrowserUk (Patriarch) on Mar 25, 2006 at 05:45 UTC

    Are your users on a corporate LAN? If so, place perl and your 7 scripts on a share and distribute a 10 line .cmd file that connects to the share and runs the scripts from there.

    If properly configured, you need only add those machines to upgrade to the appropriate user group and they'll run your script automatically on boot, and remove themselves from the group when done.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: Detecting if Perl is installed and which version
by swampyankee (Parson) on Mar 27, 2006 at 20:52 UTC

    Check out the PAR::Tutorial. My interpretation of the section starting "Aggregating multiple programs" is that one need not have a full PAR for each Perl program.


    " The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents."
    —Nathaniel S. Borenstein