1 (* Wrapper around Perl Net::Google::Cache class.
2 * Copyright (C) 2003 Merjis Ltd.
3 * $Id: pl_Net_Google_Cache.ml,v 1.2 2003-10-15 16:51:12 rich Exp $
8 let _ = eval "use Net::Google::Cache"
10 class net_google_cache sv =
15 string_of_sv (call_method sv "key" [])
17 call_method_void sv "key" [sv_of_string v]
19 string_of_sv (call_method sv "url" [])
21 call_method_void sv "url" [sv_of_string v]
23 let sv = call_method sv "get" [] in
24 if sv_is_undef sv then raise Not_found;