I have a .NET app which needs to run some PerlScripts over some data files. How can I easily call the Perl Interpreter from C#? The documentation does not seem to address this. Also I cannot call perl.exe; I need to use perl58.dll because of external requirements.
Thanks,
blair
Ok I have figured out my actual problem was that I could not get VS 2008 to reference the Perl58RT80 dll unless it is outside of the GAC. Now I am trying to instanciate a PerlRuntime.Interpreter object but it seems to have this crazy cyclic dependancy on it's self. The ctor is defined in this way:
PerlRuntime.Interpreter.ctor(ref Interpreter, string[], bool)
How am I supposed to call this? I need an Interpreter object to feed by reference into my call to create an Interpreter object, etc...
Thanks,
blair