C:\>ppm
PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a devision of Sophos.
Entering interactive shell. Using Term::ReadLine::Stub as readline library.
Type 'help' to get started.
ppm>
####
ppm> install Death::Star
##
##
C:\> ppm install Death::Star
##
##
ppm> search Death::Star
Searching in Active Repositories
1. Death::Star [1.0] a module to kill planets
2. Death::Star [2.0] kill planets with more firepower
ppm>
##
##
ppm> desc 2
====================
Package 2:
Name: Death::Star
Version: 2.0
Author: Darth Vader (anakin@the-empire.com)
Title: The Deathstar
Abstract: a planet killing module
Location: ActiveState PPM2 Repository
Available Platforms:
1. MSWin32-x86-multi-thread-5.8
====================
##
##
ppm> install 2
##
##
Package 2:
====================
Install 'Death::Star' version 2.0 in ActivePerl 5.8.6.811.
====================
Downloaded 4657 bytes.
Installing C:\Perl\html\site\lib\Death\Star.html
Installing C:\Perl\site\lib\Death\Star.pm
Successfully installed Death::Star version 2.0 in ActivePerl 5.8.6.811.
ppm>
##
##
ppm> rep
Repositories:
[ 1] ActiveState PPM2 Repository
[ 2] ActiveState Package Repository
ppm>
##
##
ppm> rep desc 1
Describing Active Repository 1:
Name: ActiveState PPM2 Repository
Location:
http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer
Type: PPMServer 2.0
ppm>
##
##
ppm> rep add jenda http://jenda.krynicky.cz/perl
Repositories:
[ 1] ActiveState PPM2 Repository
[ 2] ActiveState Package Repository
[ 3] jenda
ppm>
##
##
C:\> ppm install http://the.empire-rules.com/ppm/Death-Star.ppd
##
##
use PPM::Repositories;
for ( keys %Repositories )
{
print `ppm repository add $_ $Repositories{$_}->{location}`;
}
##
##
c:\> set http_proxy=http://xxx.xxx.xxx.x:yyyy
c:\> set http_proxy_user=username
c:\> set http_proxy_pass=password
##
##
ppm> rep add myRepository /perl/ppm/repository
##
##
The Deathstar
a planet killing module
Darth Vader (anakin@the-empire.com)
##
##
C:/blib/
+---arch/
¦ +---auto/
¦ +---Death/
¦ +---Star/
¦ #Star.dll
+---html/
¦ +---site/
¦ +---lib/
¦ +--Death/
¦ #Star.html
+---lib/
+---Death/
#Star.pm
##
##
C:\> copy \blib\lib\Death\Star.pm \Perl\site\lib\Death\Star.pm
C:\> copy \blib\arch\auto\Death\Star\Star.dll \Perl\site\lib\auto\Death\Star\Star.pm
C:\> copy \blib\html\site\lib\Death\Star.html \Perl\html\site\lib\Death\Star.html
##
##
perl -MActivePerl::DocTools -e "UpdateHTML(1)"