Section: Debian (8)
Updated: Nov 2007
update-perl-sax-parsers [options] --add parser_module
update-perl-sax-parsers [options] --remove parser_module
update-perl-sax-parsers inserts, updates and removes individual Perl SAX parser module info files in the directory /var/lib/libxml-sax-perl/ParserDetails.d and the overall Perl SAX parser modules info file /etc/perl/XML/SAX/ParserDetails.ini.
This option was added in version 0.3 of update-perl-sax-parsers . Use the value "0" to disable the encoding and match the behaviour of earlier versions of the script.
The default priority value is 50, unless --directory was specified, in which case the default is 0 (disabled.)
Starting with version 0.3 of update-perl-sax-parsers , the parsers are assigned a priority value that is encoded into the names of the files in the ParserDetails.d directory. Specifically, the file name will be "XX-Some::Module", where XX denotes the priority and Some::Module is the name of the parser module.
When --update is called, the parsers are listed in an order of ascending priority into the ParserDetails.ini file. The last parser in the file, ie. the one with the highest priority, is the default XML::SAX parser.
Parsers with the same priority are sorted alphabetically by their name. This is contrary to the behaviour of earlier versions, where the sort order was undefined and depended on the underlying file system.
Installing the original package from CPAN into /usr/local breaks the Debian package, since the former is in Perl's @INC before the latter. So, please don't do this.
Ardo van Rangelrooij <[email protected]>
Niko Tyni <[email protected]>
Copyright © 2001-2003 Ardo van Rangelrooij
Copyright © 2007 Niko Tyni
This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is no warranty.
Tutoriais de Tecnologia Web