Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Creating Perl DLLs to use from Windows programs, can it be done?

by Theseus (Pilgrim)
on Oct 27, 2002 at 00:28 UTC ( [id://208293]=perlquestion: print w/replies, xml ) Need Help??

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

OK, here's the deal. At work, I'm forced to program for the .NET platform much more than I'd like to, however, the functionality distributed with the .NET framework pales in comparison to the modules I could download and use from CPAN.

So, is there a way I can take the best of both worlds? Basically, can I write a class in Perl with methods that I can call and pass arguments to and have them return results to my programs that can be interpreted by the .NET platform?

If this can't be done with the standard utilities distributed with Perl, are there any third party utilities I can buy that will compile my perl into DLLs or executables that will do the trick? I'm willing to hear any solutions.
  • Comment on Creating Perl DLLs to use from Windows programs, can it be done?

Replies are listed 'Best First'.
Re: Creating Perl DLLs to use from Windows programs, can it be done?
by Aristotle (Chancellor) on Oct 27, 2002 at 00:56 UTC
Re: Creating Perl DLLs to use from Windows programs, can it be done?
by jplindstrom (Monsignor) on Oct 27, 2002 at 09:59 UTC
    And you can create COM objects (which is basically the .DLL you're asking for) using ActiveState's PDK.

    /J

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://208293]
Approved by Aristotle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-19 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found