edit::solved (Perl question: using ppm to download packages - and where to find XML::Parser::PerlSAX)

stndn

Golden Member
Mar 10, 2001
1,886
0
0
i am working on a mini project that involves using Perl to parse XML data to CGI data...
right now basically I am learning about the whole XML..Parser and XML..Parser..PerlSAX modules that I can use to ease the work.

the problem is that i am using active state perl 5.8 (for windows), and using ppm to install XML..Parser..PerlSAX yields nothing...

I heard that people usually gets their packages from CPAN, so i searched and only found http://search.cpan.org/author/KMACLEOD/libxml-perl-0.07/lib/XML/Parser/PerlSAX.pm on their site.

so my questions would be:
1. how do i install a module from a non-default (active state) site?
2. is there a way to install the module from search.cpan.org using ppm?
3. there's a XML..Parser..PerlSAX module for Perl 5.6 from active state. Is there a way to download that version and use it in perl 5.8? will it work?

I'm sorry if my questions are fague and confusing, since I'm not sure about what I am doing and not sure how to ask the questions. Yet I hope someone can figure out what I mean and can help me with it.

Basically I want to learn how to install a package from outside activestate, and where to find usable XML..Parser..PerlSAX for Perl 5.8.

Thank you much :)

(i just noticed that i can't type xml :: parser :: perlsax since CFM will turn those to ::p)

edit:
solved and found and installed the package.... i am good to go :D
see post at the bottom if interested
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
I couldn't find it with PPM either. PPM usually finds the modules I need.... makes it oh-so easy.

Installing additional modules from cpan is usually pretty straight forward, but it depends on the module really. Rather than try to explain how I go about it, I'll just point you to this source, as that's where I first learned how to do it anyway.

HTH
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
hmmm.... i think i found it...
the module XML..Parser..PerlSAX is actually inside libxml-perl
i found this link on CPAN and downloaded the package

used winRAR to untar/unzip the package (since i don't have *nix system handy)
used nmake (from windows website) to replace unix's make
got error during "nmake test", but "nmake install" works just fine

after that, i am able to use the package just fine...

now i just hope it's compatible since i don't know whether there is a difference between this package and the one we usually get from ActiveState ...