Home: Perl Programming Help: Advanced:
Embedding PERL



Haunter
Novice

Feb 19, 2004, 7:21 PM


Views: 1901
Embedding PERL

Rare as it is that I cannot achieve my tasks in PERL without the use of others languages but I am faced with using C# as the base coding language for my project.

I would like to know if anyone has sucessfully embedded PERL into a C# program and if so can you enlightnen me on the procedure.

I have a program that needs to do some very heavy text parusing and I benched task in PERL and C#. Not suprisingly PERL can handle the task 10 times fasters. I am not at liberty to code the entire project in PERL. I would like to embed PERL into C# so I can take advantage of it's POWER!

Thanks in Advance.


davorg
Thaumaturge / Moderator

Feb 20, 2004, 12:04 AM


Views: 1900
Re: [Haunter] Embedding PERL

(It's "Perl", not "PERL")

Have you read the perlembed[/url manual page? It's about C, but it might still contain some useful stuff.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


Haunter
Novice

Apr 18, 2004, 9:26 PM


Views: 1869
Re: [davorg] Embedding PERL

Ok just an update to this question. Perl as would be called can be compiled into an assembly or .dll file with acitvestates software. This can be called from any .NET language. Embedding is no longer needed since the package or class can be compiled into a free standing assembly that can have method calls to from other .NET compliant languages directly.



Cheers