ppm for Activeperl5.8.8

Posted by ehasas on 2007-03-21 02:12
Forums: PPM | OS: Windows

I have windows32 machine. I have installed Activeperl 5.8.8. When i give "ppm" command on command prompt, it opens a UI for downloading the perl modules. But i am not getting the following modules in the list-
1. XML::XPath
2. Test::More
3. Test::Builder
4. Test::XML::Simple

Do anyone have any solution-

Thanks
ehasas

kevinw
ActiveState Staff
Wed, 2007-03-21 13:45

Hi ehasas,

By default when the PPM GUI starts it will show only installed packages. If you click the icon to the left (silver box) it will show all available packages, and those will be there for Win32. Except for Test::More and Test::Builder, that is -- those are distributed with ActivePerl and don't need to be installed separately.

Cheers,

kjw

ehasas | Wed, 2007-03-21 21:19

Yes, i have clicked on "Show all packages" and typed "xml" in the search edit box. But still it is showing onl two packages XML-Parser and XML-Simple and not all the available packages. Is there any network setting like proxy or setting any Environment variable because I feel that ppm is not able to connect to "ftp://ppm4.activestate.com". I need "Test::XML::Simple" package.
Actually my requirement is like-
I have a XML file and i want to validate it against a given XPath and value of a field/tag. The package Test::XML::Simple (http://search.cpan.org/~mcmahon/Test-XML-Simple-0.09/lib/Test/XML/Simple.pm)has a function "xml_is $xml, $xpath, $value, 'test description'". i want to make use of this. I have one csv file containing xpath and value.
Will this package be useful for my requirement?

Regards,
Ehasas

kevinw
ActiveState Staff
Thu, 2007-03-22 10:38

Hi Ehasas,

You can find out about proxies, firewalls, and PPM at:

http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2...

I haven't used Test::XML::Simple, so I can't comment on whether or not it will do what you need. My best advice is to get PPM working and try several modules and find out which one you like best.

Cheers,

kjw

ehasas | Thu, 2007-03-22 22:49

Thanks Kevinw.
Ur assistance is surely helpful to me.

Thanks a lot.

Cheers,
Ehasas