Bug 16047 [Follow-up] Software error on deleting a group with no category code
[koha.git] / misc / sax_parser_print.pl
blobd206a5ecde1243aeeeccf21c81cd8fcc6d70643c
1 #!/usr/bin/perl
2 # check the current SAX Parser
4 use strict;
5 use warnings;
6 use XML::SAX::ParserFactory;
8 my $parser = XML::SAX::ParserFactory->parser();
9 print "Koha wants something like:
10 XML::LibXML::SAX::Parser=HASH(0x81fe220)
11 You have:
12 $parser\n";
13 print "Looks " .
14 ($parser =~ /^XML::LibXML::SAX::Parser=HASH/ ?
15 "good.\n" : "bad, check INSTALL.* documentation.\n");