Followup release notes
[koha.git] / misc / sax_parser_print.pl
1 #!/usr/bin/perl
2 # check the current SAX Parser
3
4 use strict;
5 use warnings;
6 use XML::SAX::ParserFactory;
7 my $parser = XML::SAX::ParserFactory->parser();
8 print "Koha wants something like:
9     XML::LibXML::SAX::Parser=HASH(0x81fe220)
10 You have:
11     $parser\n";
12 print "Looks " .
13     ($parser =~ /^XML::LibXML::SAX::Parser=HASH/ ?
14     "good.\n" : "bad, check INSTALL.* documentation.\n");