Calling Perl from AHK or AU3
I have stitched together an interface library that allows calling Perl from both these script languages. If you already have Perl 5.8.x installed on your machine, you can simply download and unzip the file for the language you use: the zip file for AutoIt3 or the zip file for AutoHotkey. For the examples to work, the embedding DLL (PERLEMBED.DLL) must be either in the AutoIt3 (or AutoHotkey) installation directory or somewhere in the path. My embedding DLL expects the Perl interpreter DLL (PERL58.DLL) to be somewhere in the path.
Those poor souls who have no Perl installed (how on earth did you survive all these years? No, just kiddin') will additionally need to download a further ZIP file with the Perl DLL (which contains the stand-alone Perl interpreter core). Perl58dll.zip won't give you a full installation of Perl, though: you certainly get the basic Perl functionality, but none of the many additional modules (that means, among other things, no dynamic loading of stuff). Having said that, the core is in itself a pretty powerful beast: check a good book on Perl.
Here are the contents of the readme file:
The following files are in the package: PERLEMBED.C source code for the interface DLL, straightforward C PERLEMBED.DEF list of functions exported by PERLEMBED.DLL PERLEMBED.DLL the DLL itself PERL.AU3/AHK an include file (for AutoIt3 and AutoHotkey, respectively) with the wrapper functions CALLPERL.AU3/AHK a simple example script (for AutoIt3 and AutoHotkey, respectively) README that which people never read:-) Details about installing the DLLs, calling the functions etc. can be found in PERLEMBED.C and the example scripts. Und tschuess.
$updated from: Calling Perl from AHK or AU3.htxt Wed 18 Apr 2012 16:02:46 thomasl (By Thomas Lauer)$