http://www.perlmonks.org?node_id=324979


in reply to Compiler cl?

cl.exe is the Microsoft's Visual C ++ compiler if you are running a MS OS then you can download the .Net SDK that includes cl.exe

Update: A re-reading your post I saw you want to use Expect.pm; IF you are running A MS OS I would search on Expect. I seem to remember reading of issues with MS OSs and Expect.pm (I have yet to figure out how to link super search results)

MADuran
Who Needs a spiffy sig

Replies are listed 'Best First'.
Re: Re: Compiler cl?
by BrowserUk (Patriarch) on Jan 29, 2004 at 18:17 UTC

    Don't you just love their logic.

    The Microsoft® .NET Framework Software Development Kit (SDK) version 1.1 includes everything developers need to write, build, test, and deploy .NET Framework applications—documentation, samples, and command-line tools and compilers.

    Except

    You must install the .NET Framework Redistributable Package version 1.1 prior to installing the .NET Framework SDK.

    Consecutive sentences! And then you follow the link to look at the prerequisite to "everything you need" and...

    You must also be running Microsoft Internet Explorer 5.01 or later for all installations of the .NET Framework.

    Gah!


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Timing (and a little luck) are everything!

Re: Re: Compiler cl?
by flyingmoose (Priest) on Jan 29, 2004 at 18:02 UTC

    Though I am happy to see a version of cl is free (rather than having to buy VisualC++), a question must be raised as to whether you want dependancies on the .NET runtime and libraries. Kinda bad tradeoff for a free compiler if you ask me. I would like to see CPAN modules that could be built using MINGW on Windows, myself. That's free -- as in speech AND beer. Alas, they don't do it that way...always using cl.

    Assuming you are using an ActiveState version of Perl, it's usually better to see if there is a precompiled version by running "ppm". Unfortunately, ActiveState's ppm archive is only a small portion of CPAN (and many pieces are stale), and a lot of good modules still need to be hand-compiled.

    I have also heard Expect _is_ a no-go on Windows. I can't confirm it.