I am trying to configure a local W3C validator on my XAMPP server in Windows. I have copied the validator to XAMPP. When I try to run validator/htdocs/index.html it's giving some error like
Can't locate loadable object for module SGML::Parser::OpenSP in @INC (@INC contains: D:/Web/xampp/perl/site/lib/
But I have my OpenSP.pm (and it's the correct version 0.991) in D:\Web\xampp\perl\site\lib\SGML\Parser. The procedure I am following to add new .pm file is
- download the tar.gz file
- unzip it using 7z
- just copy the .pm files from folder to D:\Web\xampp\perl\site\lib\
Is this the right way? Because it's not showing any errors for many other packages which I have added in similar manner.
How I can solve this error?