(* Example program which uses Net::Google to query Google.
* You will need to have a Google API key in ~/.googlekey for this to work.
* Copyright (C) 2003 Merjis Ltd.
- * $Id: google.ml,v 1.2 2003-10-15 16:51:12 rich Exp $
+ * $Id: google.ml,v 1.3 2003-10-16 11:03:52 rich Exp $
*)
open Printf
) search#results;
(* Destroy the Perl interpreter. *)
- Perl.destroy (Perl.current_interpreter ())
+ Perl.destroy (Perl.current_interpreter ());
+
+ (* Perform a full collection - good way to find GC/allocation bugs. *)
+ Gc.full_major ()