Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 576 Bytes
using Niecza;
using System.Runtime.InteropServices;
public class Perl5Interpreter : IForeignInterpreter {
[DllImport("obj/", EntryPoint="p5embed_initialize")]
public static extern void Initialize();
[DllImport("obj/", EntryPoint="p5embed_dispose")]
public static extern void Dispose();
[DllImport("obj/", EntryPoint="p5embed_eval")]
public static extern void EvalPerl5(string code);
public Perl5Interpreter() {
public void Eval(string code) {
Jump to Line
Something went wrong with that request. Please try again.