Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 103 lines (66 sloc) 3.43 kb
2b2b2a9 @chorny version 2.40
authored
1 XML::Parser Version 2.40
e0010d0 This commit was generated by cvs2svn to compensate for changes in r2,
matt authored
2
3 Copyright (c) 1998-2000 Larry Wall and Clark Cooper.
4 All rights reserved.
5 This program is free software; you can redistribute it and/or modify it
6 under the same terms as Perl itself.
7
8 This is a Perl extension interface to James Clark's XML parser, expat.
9 It requires at least version 5.004 of perl and it requires that you have
10 release 1.95.0 or greater of expat installed. You can download expat
fabc219 @chorny better installation instructions
authored
11 from http://sourceforge.net/projects/expat/
e0010d0 This commit was generated by cvs2svn to compensate for changes in r2,
matt authored
12
d091855 @chorny expat-devel on modern OS
authored
13 Best way is to install expat development package with your OS package manager.
14 Debian/Ubuntu/similar: libexpat1-dev (old versions: expat-dev)
8a720f9 @chorny mention expat-devel
authored
15
fabc219 @chorny better installation instructions
authored
16 After that run `cpan XML::Parser`.
17
18 You can install this module from OS package too, but CPAN has most fresh version.
19 CentOS/RHEL/Fedora: perl-XML-Parser
d091855 @chorny expat-devel on modern OS
authored
20 Debian/Ubuntu/similar: should be already installed
fabc219 @chorny better installation instructions
authored
21
9ec6b41 @chorny instructions for MacOS X
authored
22 XML::Parser installation requires gcc, so on MacOS X you need to download and run
23 Xcode from Mac app store (~1.5 GB)
24
fabc219 @chorny better installation instructions
authored
25
e0010d0 This commit was generated by cvs2svn to compensate for changes in r2,
matt authored
26 The documentation for this extension can be found in pod format at the end
27 of the files Parser.pm and Expat/Expat.pm. The perldoc program, provided with
28 the perl distribution, can be used to view this documentation.
29
30 This was modified from the original XML::Parser created by Larry Wall.
31
fabc219 @chorny better installation instructions
authored
32 -------------
33
34 To manually install this module, cd to the directory that contains this README file
e0010d0 This commit was generated by cvs2svn to compensate for changes in r2,
matt authored
35 and type the following:
36
37 perl Makefile.PL
38
39 Alternatively, if you plan to install XML::Parser somewhere other than
40 your system's perl library directory. You can type something like this:
41
42 perl Makefile.PL PREFIX=/home/me/perl INSTALLDIRS=perl
43
44 Then to build you run make.
45
46 make
47
48 You can then test the module by typing:
49
50 make test
51
52 There are some sample utilities in the samples directory along with an
53 xml form of the XML specification to test them on. You may need to change
54 the '#!' line at the top of these utilities to what is appropriate for
55 your system. If you're going to play around with them prior to installing
56 the module, you would need to add the blib paths to your perl search
57 path, like this (assuming your current directory is samples):
58
59 perl -I../blib/lib -I../blib/arch xmlcomments REC-xml-19980210.xml
60
61 or set your PERLLIB environment variable.
62
63 If you have write access to the installation directories, you may then
64 install by typing:
65
66 make install
67
68 Discussion on features and bugs of this software and general discussion
69 on topics relating to perl and XML takes place on the perl-xml mailing
70 list, to which you can subscribe by sending mail to:
71
72 subscribe-perl-xml@lyris.activestate.com
73
fabc219 @chorny better installation instructions
authored
74
75
76
e0010d0 This commit was generated by cvs2svn to compensate for changes in r2,
matt authored
77 Differences from Version 2.30
78 =============================
79
80 Version 2.31 is a minor bugfix release to allow XML::Parser to
81 work under the forthcoming Perl 5.8.0 release. There are no functional
82 changes.
83
84 Differences from Version 2.29
85 =============================
86
87 Expat is no longer included with this package. It must now be already
88 installed on your system as a library. You may download the library
89 version of expat from http://sourceforge.net/projects/expat/. After
90 downloading, expat must be configured (an automatic script does this),
91 built and installed.
92
93 A workaround has been provided for those people who couldn't compile
94 Expat.xs with a perl 5.6.0 with USE_5005THREADS on.
95
96 A bug that prevented IO::Handler from being read by the parse method
97 has been fixed.
98
99 Fixed a bug in reading external entities with incremental parsing.
100
101 Clark Cooper
102 coopercc@netheaven.com
Something went wrong with that request. Please try again.