in reply to Getting the value from XML file

Hey thanks for the replies! Been reading the links provided and I have a small problem here. I install XML::Twig using perl package manager and when I tried adding this code:
use XML::Twig::XPath;
I got an error which says:
Can't locate XML/Twig/XPath.ppm in @INC (@INC contains: lib C:/Strawbe +rry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberrt/perl/li +b.)
I tried checking if its installed properly using command prompt..it seems every thing work ok, except that I could not find XML Twig folder in the error specified.. So how do I solve this?

Replies are listed 'Best First'.
Re^2: Getting the value from XML file
by Anonymous Monk on Apr 21, 2014 at 06:30 UTC

    Stick with plain old XML::Twig

    Also, Can't locate XML/Twig/XPath.ppm looks an awfully lot like nonsense

      "Stick with plain old XML::Twig"

      You need to install any module for that? I assume that I need to install XML::Twig module in ppm in order to use XML::Twig.

      Initially I wrote in

      use XML::Twig
      I also got the same error as mentioned in first post.

        How many perls do you have installed?