Contributed Template Toolkit wrapper.
[perl4caml.git] / examples / test.ml
index 6ab869b..05d6042 100644 (file)
@@ -1,6 +1,6 @@
 (* Simple test of the API.
  * Copyright (C) 2003 Merjis Ltd.
- * $Id: test.ml,v 1.5 2003-10-16 11:03:52 rich Exp $
+ * $Id: test.ml,v 1.6 2003-12-11 17:41:52 rich Exp $
  *)
 
 open Printf
@@ -48,8 +48,5 @@ let () =
   let sv = Perl.call_method obj "get_foo" [] in
   printf "TestClass.foo is %d\n" (Perl.int_of_sv sv); flush stdout;
 
-  (* Destroy the interpreter. *)
-  Perl.destroy (Perl.current_interpreter ());
-
   (* Perform a full collection - good way to find GC/allocation bugs. *)
   Gc.full_major ()