From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA11970; Mon, 29 Mar 2004 02:35:51 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA11342 for ; Mon, 29 Mar 2004 02:35:50 +0200 (MET DST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i2T0aSKW003879 for ; Mon, 29 Mar 2004 02:36:30 +0200 Received: from [192.168.1.200] (ppp113-158.lns1.syd3.internode.on.net [150.101.113.158]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i2T0Zjwn024486; Mon, 29 Mar 2004 10:05:45 +0930 (CST) Subject: Re: [Caml-list] Delaying module initialization From: skaller Reply-To: skaller@users.sourceforge.net To: skaller@users.sourceforge.net Cc: Jacques Garrigue , caml-list In-Reply-To: <1080518328.4708.181.camel@pelican.wigram> References: <20040327121832.B29840@pauillac.inria.fr> <406575DA.2090908@socialtools.net> <1080403497.4708.160.camel@pelican.wigram> <20040328193438O.garrigue@kurims.kyoto-u.ac.jp> <1080518328.4708.181.camel@pelican.wigram> Content-Type: text/plain Message-Id: <1080520544.4708.188.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 29 Mar 2004 10:35:45 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sourceforge:01 jacques:01 invokes:01 9660:01 glebe:01 linked:01 caml:01 caml:01 nsw:01 snail:02 modules:02 checkout:02 module:03 module:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 402 If dynamic loading is as Jacques suggests, then it would seem mod_caml has a strange design.. Given an HTML page containing some Caml script which in invokes some functions which wrap Perl modules .. the whole thing should be dynamic automatically. I can't see how 'initialising all the Perl modules' could happen. I'd have to try extremely hard to even think about how to make that happen. The core apache module shouldn't be linked with any Perl other than core interpreter. So for example invoking the database module of Perl through a Caml interface would be entirely dependent on whether the client HTML contained embedded script which loaded the module or not. Am I somehow misunderstanding how mod_caml operates? -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners