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

Hello wise monks,

anyone lurking here is using the Activestate Perl Dev Kit?
My boss has shifted from vb to C# and I was thinking about buy a license of this software to interact easily with it.

I want to know if someone here is using it in a .NET environement and with special interest about Perl SOAP accesibility from C# client

Any other comment agreeded

cheers from Roma Lor*

Replies are listed 'Best First'.
Re: Comment about Active Perl Dev Kit
by holli (Abbot) on May 19, 2005 at 09:31 UTC
    I do. I have written some components with VisualPerl and I am pretty pleased. The worst thing about it is, that you cannot write components that rise Events from Perl. Otherwise: Great stuff, It's worth the money.

    If you can afford it, i encourage you to buy the ActivePerlProStudio. SAFARI is just cool.


    holli, /regexed monk/
Re: Comment about Active Perl Dev Kit
by gellyfish (Monsignor) on May 19, 2005 at 10:06 UTC

    You don't really need the PDK to interoperate with .NET with Perl unless you want to explicitly want to use classes from a managed assembly directly in your Perl code without using COM (via Win32::OLE) or SOAP.

    The slides of the talk I gave on this very subject at yapc::Europe last I can't seem to find at the moment or I would point you toward them. Basically the bottom line is that you should be conservative with the data structures you are a going to share between Perl and .NET and that you will get better results with SOAP between the two if you don't think of it as an RPC mechanism rather as a document-centred message passing. C# Web Services clients also much prefer a WSDL document and currently the only reliable way to get one of these for a Perl server is to make it by hand.

    /J\

      Thanks gellyfish, and thanks holli

      To gellyfish: I'll intend to open my class to C# developer, that are very slow.Unfortunately I'm not so able to access a custom assembly via COM and Win32::OLE (can you provide some guideline?)

      When you say that I must be conservative what you means ?

      I never got an WSDL to run with C# client (many posts of me about). There is a reference to simply do this or a tool ?

      thanks you two Lor*