CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Perl and C#

 



hem
User

Feb 29, 2012, 10:04 AM

Post #1 of 5 (4171 views)
Perl and C# Can't Post

Hi

We have a application written in C# . We want to expose certain functionality (might be functions) and invoke them using a perl script.

Essentially I am looking for ways to call C# code from a Perl script. I need some pointers how to do it. Some ideas . I am ready to put in the work and research the methods but just needs to be steered in the right direction

Thanks in advance


FishMonger
Veteran / Moderator

Feb 29, 2012, 10:10 AM

Post #2 of 5 (4170 views)
Re: [hem] Perl and C# [In reply to] Can't Post

These docs would be the starting point.

http://perldoc.perl.org/perlxs.html
http://perldoc.perl.org/perlxstut.html


hem
User

Feb 29, 2012, 11:06 AM

Post #3 of 5 (4161 views)
Re: [FishMonger] Perl and C# [In reply to] Can't Post

It talks a lot about C and C++. Does it work for C# also?

Thanks


FishMonger
Veteran / Moderator

Feb 29, 2012, 11:43 AM

Post #4 of 5 (4158 views)
Re: [hem] Perl and C# [In reply to] Can't Post

I think so, but I'm not sure. I don't program in any of the C variants, so I don't do any XS coding.

If no-one else here offers a more definitive answer, then my next suggestion would be to post your question on perlmonks.
http://www.perlmonks.org/


budman
User

Mar 4, 2012, 11:10 AM

Post #5 of 5 (4036 views)
Re: [hem] Perl and C# [In reply to] Can't Post

 
C# is Windows-only (or using Mono under Linux).

The only thing I found searching was a package from Active State

PerlNet
http://www.devx.com/codemag/Article/8515/0/page/2

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives