Posted by on 2014-08-15 03:03
Forums: PPM | OS: Windows 7

I have installed ActivePerl 5.16.3. I have also done a install XML::DOM in cpan shell as follows:
cpan> install XML::DOM
Still when I use XML::DOM in a module, I get the following error:
C:\Users\Dell\Downloads\ROUGE-1.5.5 (1)\RELEASE-1.5.5>
Can't locate XML/ in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib
.) at C:\Users\Dell\Downloads\ROUGE-1.5.5 (1)\RELEASE-1.5.5\ line
BEGIN failed--compilation aborted at C:\Users\Dell\Downloads\ROUGE-1.5.5 (1)\REL
EASE-1.5.5\ line 173.

But if I download the DOM package from and update my PERL5LIB variable to point
to that, the error goes away.

My question is : Isn't install step enough?

I am new to all these, hence any clarification would be greatly appreciated.


ActiveState Staff
Wed, 2014-10-15 15:11

On newer versions of Windows, a standard userID may not have the correct permissions to update a folder under C:/Perl64.