user1383839
user1383839

Reputation: 215

Error when using XML::Simple in Windows

Please find the error which I have got after installing XML::Simple. I have installed parser, xam, still I'm receiving the same error.

Error:

XMLin() requires either XML::SAX or XML::Parser at XML_parser1.pl line 12

Upvotes: 0

Views: 1403

Answers (2)

ikegami
ikegami

Reputation: 385496

Start by undoing the mangling of Perl's directories (deleting the files you copied into them), then install XML::Simple properly. The following will do with ActivePerl:

ppm install XML::Simple

No idea what "xam" is, but it's not one of the parsers requested.

Upvotes: 0

daxim
daxim

Reputation: 39158

Remove what you changed so far, and install the package the recommended way:

Upvotes: 2

Related Questions