http://www.perlmonks.org?node_id=532297

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I am new to perl. I am using perl to validate my xml file. I heard about XML::LibXML and XML::Simple module by using the above both module or using some other module, is it possible to validate the xml file..Whether it's correct xml file or parsing error?

I want to validate only xml file. without DTD or XSD file.

Please give me the sample code or link..

Thanks in Advance