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

Hmmm. Another question related to the use of Perl in Visual C++, of course, in the Windows (hostile) environment.

Thanks to a bunch of helful Monks, I got an example of Visual C++ project using Perl, but I just realized that to be able to compile I needed Perl's source - which I don't have - my problem being that I am using ActiveState Perl 522 (Perl 5.005); I am just coming back from ActiveState's download page, where I can still find the distribution Intel APi522e.exe, but not the source code.

I was wondering if some fellow in the Monastery did not have left in a dusty corner a package containing the holy source... If anyone wants to help, please /msg me and I'll give you my email address.

Thanks for your help.
  • Comment on Quest for the Holy Graal in the Evil Land

Replies are listed 'Best First'.
Re: Quest for the Holy Graal in the Evil Land
by vkonovalov (Monk) on Jul 18, 2000 at 18:35 UTC
    You don't need perl source to embed it into VisualC++ project, there are all necessary header files and a LIB in installation packages which, when linked to your project, will call Perl's DLL in a correct way.

    But if you want to compile Perl from its cource code, then you need to download it, and I saw sources of many perl versions on ActiveState's web pages

      Hmmm. Could you precise a little more?

      I'd like to find this library (it would actually be better than having to recompile the whole distribution...)

      And as I told you, I did not see the distribution source for Perl 5.005 on ActiveState's page.

      As suggested above, I could try to get the CPAN instead, but I'm wondering if I won't run into any portability issues that I wouldn't have to worry about with something coming from ActiveState (ActiveState is compiled with Visual C++ - if you look on their page, you will see that they might even be bought my Microsoft in the future...).
Re: Quest for the Holy Graal in the Evil Land
by eduardo (Curate) on Jul 18, 2000 at 17:39 UTC
    is the source for ActiveState perl not rolled in to the source available from CPAN? I would think they would roll it into the same package... I haven't actually checked, i'm just guessing...