Calling Perl from C#.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave R

    Calling Perl from C#.

    Hello group,

    I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
    With the .Net invent I would like to wrap up my COM functionality into C#.
    I wanted to know how can my Perl modules call the C# exe?

    Thanks,
    Dave

    P.S : AFAIK, Perl is also interoperable with the .Net languages.


  • Abhishek Srivastava

    #2
    Re: Calling Perl from C#.

    Hello Dave,

    Check out Perl.Net from active state that should allow you to call C#
    from Perl

    With technology that just works, we provide solutions for languages like Python, Perl and Tcl to make open source easy for the enterprise.


    regards,
    Abhishek.

    Dave R wrote:[color=blue]
    > Hello group,
    >
    > I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
    > With the .Net invent I would like to wrap up my COM functionality into C#.
    > I wanted to know how can my Perl modules call the C# exe?
    >
    > Thanks,
    > Dave
    >
    > P.S : AFAIK, Perl is also interoperable with the .Net languages.
    >
    >[/color]

    Comment

    • Ravikanth[MVP]

      #3
      Calling Perl from C#.

      Hi

      Python for .NET is a near-seamless integration of the
      CPython runtime with the .NET Common Language Runtime
      (CLR). It lets you script and build applications in
      Python, using CLR services and components written in any
      language that targets the CLR (C#, Managed C++, VB.NET,
      etc.).



      for further details check the following link


      Ravikanth[MVP]

      [color=blue]
      >-----Original Message-----
      >Hello group,
      >
      >I had a COM dll in VC 6.0 which my Perl 5.8 modules used[/color]
      to call.[color=blue]
      >With the .Net invent I would like to wrap up my COM[/color]
      functionality into C#.[color=blue]
      >I wanted to know how can my Perl modules call the C# exe?
      >
      >Thanks,
      >Dave
      >
      >P.S : AFAIK, Perl is also interoperable with the .Net[/color]
      languages.[color=blue]
      >
      >
      >.
      >[/color]

      Comment

      • Daigo Hamura [MSFT]

        #4
        RE: Calling Perl from C#.

        Hi Dave,

        You can use COM Interop and expose your .NET Assemblies as COM objects.

        l/cpconexposingne tframeworkcompo nentstocom.asp? frame=true
        Then, you can use those object from perl.
        --
        DaigoH, C# Team
        This posting is provided "AS IS" with no warranties, and confers no rights.
        Use of included script samples are subject to the terms specified at
        Use these online forms to report copyright and trademark infringement to Microsoft Legal. Infringement notices must comply with the Digital Millennium Copyright Act.


        --------------------[color=blue]
        >From: "Dave R" <drat@hotmail.c om>
        >Subject: Calling Perl from C#.
        >Date: Wed, 24 Sep 2003 14:01:43 +0530
        >Lines: 12
        >X-Priority: 3
        >X-MSMail-Priority: Normal
        >X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
        >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
        >Message-ID: <ORkvcXngDHA.23 44@TK2MSFTNGP10 .phx.gbl>
        >Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
        >NNTP-Posting-Host: 203.199.147.2
        >Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
        >Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1869 85
        >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
        >
        >Hello group,
        >
        >I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
        >With the .Net invent I would like to wrap up my COM functionality into C#.
        >I wanted to know how can my Perl modules call the C# exe?
        >
        >Thanks,
        >Dave
        >
        >P.S : AFAIK, Perl is also interoperable with the .Net languages.
        >
        >
        >[/color]



        Comment

        • Daigo Hamura [MSFT]

          #5
          RE: Calling Perl from C#.

          Hi Dave,

          You can use COM Interop and expose your .NET Assemblies as COM objects.

          l/cpconexposingne tframeworkcompo nentstocom.asp? frame=true
          Then, you can use those object from perl.
          --
          DaigoH, C# Team
          This posting is provided "AS IS" with no warranties, and confers no rights.
          Use of included script samples are subject to the terms specified at
          Use these online forms to report copyright and trademark infringement to Microsoft Legal. Infringement notices must comply with the Digital Millennium Copyright Act.


          --------------------[color=blue]
          >From: "Dave R" <drat@hotmail.c om>
          >Subject: Calling Perl from C#.
          >Date: Wed, 24 Sep 2003 14:01:43 +0530
          >Lines: 12
          >X-Priority: 3
          >X-MSMail-Priority: Normal
          >X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
          >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
          >Message-ID: <ORkvcXngDHA.23 44@TK2MSFTNGP10 .phx.gbl>
          >Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
          >NNTP-Posting-Host: 203.199.147.2
          >Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
          >Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1869 85
          >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
          >
          >Hello group,
          >
          >I had a COM dll in VC 6.0 which my Perl 5.8 modules used to call.
          >With the .Net invent I would like to wrap up my COM functionality into C#.
          >I wanted to know how can my Perl modules call the C# exe?
          >
          >Thanks,
          >Dave
          >
          >P.S : AFAIK, Perl is also interoperable with the .Net languages.
          >
          >
          >[/color]



          Comment

          • Dave R

            #6
            Re: Calling Perl from C#.

            Thank you all for your useful replies.

            --
            Best regards,
            Dave


            Comment

            • Dave R

              #7
              Re: Calling Perl from C#.

              Thank you all for your useful replies.

              --
              Best regards,
              Dave


              Comment

              Working...