in reply to Can't install CPAN modules on XP

If you're using Activestate Perl (which it seems you are from your OP), you can just use Perl Package Manager to install/updated modules.

From the "Start" menu, select "Run", type 'cmd' and press "OK". In the Command Prompt, type 'ppm' and press enter. Alternatively, you could just Start -> Run -> ppm, if Windows knows were to find it (C:\Perl\bin is in your path).

That should allow you to install pre-built modules.

If you still want to 'CPAN' modules the hard way, use PPM to install 'dmake'. You can get Microsoft's 'nmake' if you have Visual C++ installed - I'm guessing you don't otherwise you'd have nmake already.

ppm install dmake

Replies are listed 'Best First'.
Re^2: Can't install CPAN modules on XP
by elef (Friar) on Jul 01, 2010 at 14:46 UTC
    Thanks, sounds good. Just checked and the perl package manager seems to work. It can't find a module I need, though. Any idea why? It's this one: http://search.cpan.org/~kilinrax/HTML-Strip-1.06/ It doesn't show up and HTML-Strip in PPM and if I search for the author (Bowley) I only get one of his 3 modules on CPAN: HTML-SyntaxHighlighter. Does PPM only offer a limited subset of the modules on CPAN? Do I need to add some repository or another?

        Added the repository, installed the modules, tried the script that uses them, everything seems to work fine.

        Thank you for the quick help, everyone!