in reply to grap ctrl+c when exe

Give him the URL www.activestate.com, then you won't have to babysit him for every new Perl program you want to hand him. Just say no to perl2exe.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: Re: grap ctrl+c when exe
by Adam (Vicar) on Oct 28, 2000 at 23:01 UTC
    Unfortunately, this mindset is the downfall of Perl.
    Seriously.
    The leading complaint I hear about Perl is that its unreadable. I show them my code and they drop that complaint.
    Then they complain that I can't easilly distribute it because not everyone has Perl, and it isn't self contained. And all I can do is smile and nod, because they are right. I can't write a simple application in Perl and provide a single, self-sufficient, file to someone else. Granted that complicated projects often involve multiple data files and dlls, but requiring someone to install Perl (and every module I used) just to run a program is rediculous.

    Just my opinion. Downvote if you wish.

      Which begs the question:
      Has anybody written a module that tests for the existence of a module required by the rest of the program, and auto downloads from CPAN and auto installs if not present?

      Malk.
        I vaguely recall seeing a snippet (not module) here at PM that would check for presence of modules required by larger script.   Hmmm... Detecting modules in use? may be what I was thinking of.
            cheers,
            Don
            striving for Perl Adept
      A reply falls below the community's threshold of quality. You may see it by logging in.
      And if not everyone had the DLLs to make your C binary run, you'd not be able to run that either. That's a silly complaint.

      The proper response to that is "well, it's not a standard install, but it's a trivial install, and it's free."

      -- Randal L. Schwartz, Perl hacker

        Software that requires a DLL comes with an install program which handles the installation of the DLL. So much for that problem. Installing Perl is a much bigger deal then installing a DLL, PLUS they would have to install any libraries you are using. It gets hairey fast. Having it all in one simple executable is both sensible and preferable when distributing a software product. Not to obfuscate, but to simplify.