Permalink
Browse files

Load the p5 interpreter assembly from the loading path.

  • Loading branch information...
1 parent 65732d5 commit 87f66df0aba843a85c6ce0726177940c237c94a0 @pmurias pmurias committed Sep 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Builtins.cs
View
@@ -951,7 +951,7 @@ class SubstrLValue: Variable {
string r = o1.mo.mro_raw_Str.Get(v);
if (p5_interpreter == null) {
- System.Reflection.Assembly a = System.Reflection.Assembly.LoadFrom("obj/Perl5Interpreter.dll");
+ System.Reflection.Assembly a = System.Reflection.Assembly.Load("Perl5Interpreter");
p5_interpreter = (IForeignInterpreter) a.CreateInstance("Perl5Interpreter");
}
p5_interpreter.eval(r);

0 comments on commit 87f66df

Please sign in to comment.