Yes, you can build a COM/ActiveX server using ActiveState's PerlCtrl, in the Dev Kit. I have used this for turning Perl modules into COM objects that can be accessed from VB. It does a remarkably good job of converting the COM datatypes into Perl's scalars, hashes and lists.
There are a few quirks, and I suggest starting with a hello, world and moving on in short steps. The only downside is that the DLL starts at around 1Mb for the simplest object.
--
iakobski | [reply] |
Yeah, it is great!
The DLL size can be as small as 20k if you don't go for a freestanding DLL. You only need the freestanding DLL if perl isn't installed on the target computer.
$code or die
$ perldoc perldoc
| [reply] |
I have not tried this, but I've thought about using "script components" with PerlScript. Bascically, this will run your script as a server, and it works with any scripting language installed as an ActiveX Scripting Engine.
Also, ActiveState sells something for that in their DevKit.
—John | [reply] |