Return-Path: Delivered-To: apmail-modperl-archive@apache.org Received: (qmail 43526 invoked by uid 500); 29 Dec 2001 01:29:57 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@apache.org Received: (qmail 43514 invoked from network); 29 Dec 2001 01:29:57 -0000 Message-ID: <3C2D1CEF.1000007@smartt.com> Date: Fri, 28 Dec 2001 17:31:27 -0800 From: clayton User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Per Einar CC: fred@igtech.fr, Mod Perl List Subject: Re: [OT] Re: XML::LibXML References: <5.1.0.14.0.20011228170204.031c7e30@pop.skynet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N try perldoc XML::LibXML i got this perl module working fine http://drfrog.fdns.net/x3d/ Per Einar wrote: > At 16:58 28/12/01, Fred wrote: > >> I know (guess?) my answer in somwhere linked with Dynaloader. >> But I do not find the link between XML::LibXML and libxml2. Do not >> man have >> to specify it somewhere? Where is the link between C libs and Perl? >> How come can calls to undefined methods like $self->_parse_file() (in >> method >> XML::LibXML->parse_file()) can be found? Where is the inheritance >> defined? >> >> Well, I have to say that I did not investigate much on Dynaloader. I >> thing I >> missed a step before reading perldoc Dynaloader. >> If somebody has an hint (or an URL?, manpage?) for me starting at >> understanding this process, I would be grateful ! > > > > You should read up on XS, the glue mechanism between Perl and C. The > book "Advanced Perl Programming" from O'Reilly has some great chapters > on the subject. You might also want to see the perl man pages on XS > (perlxstut and perlxs). http://world.std.com/~swmcd/steven/perl/ also > has some good information (see "XS Mechanics"). > > XS is not vital to program Perl, it's mainly for linking in external X > libraries (like XML::LibXML does), and to implement some functions in > C for them to be faster. > >