[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
On Sunday 05 Oct 2003 2:54 pm, Theo P. Zourzouvillys wrote: > On Sunday 05 October 2003 11:44 am, Neil Williams wrote: > > I'm getting confused over the constant use of references to parse the > > tree and I can't get any data from a sample XML. > > use XML::Parser; > > Take a look at XML::LibXML - which in my option is a few dozen times > faster, and probably a lot better documented (it's just the perl glue to > libxml2).. Would that increase the dependency requirements for the project? (It's for isbnsearch on sourceforge). Is XML::Parser part of the default Perl installation? I only ask because XML::LibXML isn't on my current installations and I am trying not to add yet more modules to the 'add-me' list for the project, especially as this is only a small part of the total project that some people may not even need. (I wanted Perl only so that a cron option was available for this task - there will be a PHP option anyway). If I can't expect XML::Parser to be installed by default, or if LibXML requires more than just a CPAN update on a new system, I'll use PHP for default XML parsing. Where can I find out about things like that? Which modules can I expect a 'standard' webhost to have already installed? I'm only using my current host as an example - is there a consensus on which modules are likely to be available? I've had a quick look at http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?distinfo=5888 and checked each distribution link and I can't see a problem, but seeing as it is the Perl glue to libxml2, will it require binary packages that XML::Parser might not? (i.e. is anyone likely to find that libxml2 isn't installed on their server?) How do I find out in advance? Thanks for the example, Theo - I'll keep it on hand for a future release. When I asked about XML::Parser, I was intent on getting the cron task as the default but I've been working on the PHP side in the meantime and some of the conceptual problems with not having a cron option have been reduced. In some ways, requiring admin input via a PHP interface is moderately better security than allowing this particular service to run automatically. -- Neil Williams ============= http://www.codehelp.co.uk/ http://www.dclug.org.uk/ http://www.isbn.org.uk/ http://sourceforge.net/projects/isbnsearch/ http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
Attachment:
pgp00044.pgp
Description: signature