in reply to Removing Modules

I run IndigoPerl which comes with a binary version of Apache. Anyway, it comes with a nifty little perlscript embedded in a bat file that goes something like:
@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT perl -x -S "%0" %* if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl if %errorlevel% == 9009 echo You do not have Perl in your PATH. goto endofperl @rem '; #!perl # dpm.pl V0.04 Dynamic Package Manager # Copyright (c) 2000 Indy Singh/IndigoSTAR Software all rights reserve +d BEGIN { $| = 1; open (STDERR, ">&STDOUT"); } use strict; use ExtUtils::Install (); use Config; use File::Path; # mkpath, rmtree
Anyway, that nifty little perlscript is much like Win32 ActivePerls ppm(Perl Package Manager) and takes the hassle out of managing your perl modules/packages. You should be able to adapt it to whatever environment you're using since alls it needs is write permission ;)

<SHAMELESSPLUG>
You can check out my review here to get an idea how it(dpm) works. They even included a 'GUI'(browser) front end for it.
</SHAMELESSPLUG>

Update: on Fastolfe point,
why don't you just build the exact replica of your 'production' machine, develop 'your film' and then just switch the cable's.

"cRaZy is co01, but sometimes cRaZy is cRaZy".
                                                      - crazyinsomniac

Replies are listed 'Best First'.
Re: Re: Removing Modules
by t'mo (Pilgrim) on Feb 02, 2001 at 09:55 UTC

    Interesting. I've been using IndigoPerl lately too, as I've got WinNT running more often than Linux (both on the same box).

    Anyway, though I haven't read the docs *thoroughly* yet (shame on me), but it appears that CPAN.pm doesn't have this ability (to remove/uninstall modules). Does anybody know why not?<?p>