in reply to Re: Perl Scripts on systems without perl environments.
in thread Perl Scripts on systems without perl environments.

The customer would not accept that. Far too large. I have a reletively simple script, ~150 lines. that they need to run regularly. If I could install that (or a compiled version) and maybe a library or five, I should be OK. More than that and they will not be happy.

Skip

Replies are listed 'Best First'.
Re^3: Perl Scripts on systems without perl environments.
by Perl Mouse (Chaplain) on Nov 07, 2005 at 17:17 UTC
    Why is installing five libraries ok, but a custom installation of Perl isn't? Perl is nothing more than a binary, and a bunch of libraries - most of them you won't need. In fact, you could create a Perl that statically links in every extension it needs (and don't compile what you don't need). And if you really must, you can get away with delivering just that binary - any (Perl) library code, you just copy-and-paste in your script. Or rather, use a makefile to spit out a single Perl script. Then you need just two files.

    OTOH, if all you have is a relative simple script, you could have written it in C in less time than it took for the participants of this thread to write their replies.

    Perl --((8:>*

      Size and support software. Perl requires EMX. EMX requires some other stuff. Installation nightmare.

      I don't speak c. I am a generalist not a programmer. Scripting I know.

      Skip

        Skip, that's just one ugly statement. That's like saying, I don't speak French. I am a person not a linguist. English I know. WTF? Good development practices and techniques are just that - the language is not relevant.

        That being said, being a cargo-culting in a scripting language is much easier than a compiled one

        -derby